Page 1 of 1

Re: animate pic

Posted: 2008-01-01T19:16:50-07:00
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.