-delay -loop -dissolve

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mafioziny

-delay -loop -dissolve

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: -delay -loop -dissolve

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
mafioziny

Re: -delay -loop -dissolve

Post by mafioziny »

Thank you, Anthony, -morph is exactly what I needed. :)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: -delay -loop -dissolve

Post 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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply