[magick-users] composite animated GIF images
alexp at moldtelecom.md
Sat Dec 7 16:07:19 PST 2002
GRP> "composite" only works on a single frame, so you need to
GRP> separate the anigif into four frames.
GRP> convert +adjoin anim.gif anim%d.gif
GRP> composite -geometry +30+30 anim.gif template.gif anim0.gif
GRP> composite -geometry +30+30 anim.gif template.gif anim1.gif
GRP> composite -geometry +30+30 anim.gif template.gif anim2.gif
GRP> composite -geometry +30+30 anim.gif template.gif anim3.gif
GRP> convert -delay 50 -loop 10 anim*.gif result.gif
Thanks Glenn, that worked! Do you have any idea of why "Convert" command works
for animated gifs in the ImageMagick Studio?
See, I need to create counter images with animated digits. A counter will have 5
digits. Each digit will have 4 frames. I'll have to firstly create 10x4x5=200
auxiliary images, and then 4 images for each counter number to create one
animated. Of course I will write a script to do it, but is there an easier way? :-)
GRP> At 02:10 PM 12/7/02 +0200, Alexander Plakidin wrote:
>>I am trying to use "composite" tool to combine animated gif images. To be more
>>detailed - I have a "template" (static gif image), and an animated gif (4
>>frames). I need to put the animated image onto the template image and have it
>>animate above the background.
>>When I use "ImageMagick Studio" (online tool), it works fine. I take my template
>>image, and use "Composite" bookmark to apply the animated gif. The result looks
>>perfect. When I try to do same thing using command-line tools (I tried both
>>Linux and Windows ImageMagick installations), I get static image, no animation.
>>I think, my command-line parameters for "composite" are wrong. Can anyone
>>suggest parameters that will help me achieve the result? Or, how can I find out
>>which commands does ImageMagick Studio use when doing "composite"?
>>ANY help will be appreciated. I tried to search all the mailing lists/discussion
>>groups available, but found no solution.
More information about the Magick-users