Hello,
I have a small transparent animated gif and would like to compose it with a bigger gif/jpeg/png photo.
I tried to use "composite" tool using the following command but got "invalid colormap index" error:
composite transp_animation.gif photo.gif result.gif
I also found the following example but it doesn't have "tile" option and just put the animation into the center of the photo:
convert -size 300x200 photo.gif null: \( transp_animation.gif -coalesce \) -gravity Center -layers Composite -layers Optimize
Could you please help me? I need to tile animated gif on a photo.
Thanks in advance!
Compose and tile animated gif with a photo
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Compose and tile animated gif with a photo
What are you wanting to tile, the background picture or the forground animation.
For the background see 'tilinng images
http://www.imagemagick.org/Usage/canvas/#tile
for the foreground animatoion see.. 'Glitter Tiles'
http://www.imagemagick.org/Usage/anim_m ... tter_tiles
The latter uses a 'distort' technique from the former. This works with a multiple images, so can be used with coalesced animations.
For the background see 'tilinng images
http://www.imagemagick.org/Usage/canvas/#tile
for the foreground animatoion see.. 'Glitter Tiles'
http://www.imagemagick.org/Usage/anim_m ... tter_tiles
The latter uses a 'distort' technique from the former. This works with a multiple images, so can be used with coalesced animations.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Compose and tile animated gif with a photo
Okay, thank you, I'll try))
Re: Compose and tile animated gif with a photo
Thanks! It works.