Page 1 of 1

-delay -loop -dissolve

Posted: 2007-03-19T15:17:41-07:00
by mafioziny
Hi. I am new to imagemagick and was wondering if anyone can help me... I have a bunch of images that I want to create an animated gif with.

I use this command:
convert -delay 100 -loop 0 images*.png anim.gif

That works great and creates an animated image, but I also need to use dissolve which is part of composite and not convert.

My question is how can I create an animated image from a bunch of images and have a dissolve between images to make them animate nicer?

Thank you for your help in advance

Re: -delay -loop -dissolve

Posted: 2007-03-19T20:23:42-07:00
by anthony
-dissolve is basically. reduce transparency of each image by the percentage given,
then overlay them.

Simple as that. See IM Examples, Disolve, for more detail.
http://www.imagemagick.org/Usage/compose/#dissolve

You may also be interested in -morph, that takes two images and creates extra intermediate frames. may work better for your purposes.

Don't forget to handle color for GIF animations, See the new 'Video to GIF' section of IM examples that gives a summery of the versious methods...
http://www.imagemagick.org/Usage/video/#gif

Let us know how it all goes. It is always nice to have a final bit of feedback.

Re: -delay -loop -dissolve

Posted: 2007-03-20T06:41:29-07:00
by mafioziny
Thank you, Anthony, -morph is exactly what I needed. :)

Re: -delay -loop -dissolve

Posted: 2007-03-20T21:05:20-07:00
by anthony
You may also be interested in the just release -reverse option...

See Im examples, reversing animations
http://www.imagemagick.org/Usage/animations/#reverse