animate pic

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: animate pic

Post by anthony »

Certainly, though how are the pictures stored?

If you have it stored in a the form of image numbers (with leading zeros so they can be alphabetically sorted) then you can so something like...

convert `ls image_*.png | tail` animation.gif

The line: ls image_*.png | tail just lists the 10 files the last 10 alphabetically sorted filenames in the current directly matching the given patten, and saves it as a GIF animation.

However remember GIF is a very low quality format and not meant for real world images, so the result will not be very good. You may be better of using a program like mencode to create a proper movie file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply