Thursday, February 21, 2013

Convert a series of pictures into an animated gif.





Convert a series of pictures into an animated gif is real easy. First you want to collect all the pictures together and order them by name in the order you want them to appear.


Then let’s install some software.

$  sudo apt-get install imagemagick

Now we need to make sure all the pictures are the

same size.

$ mogrify -resize 640x480 *.png


The let's make the gif. You maybe also able to do
this on other platforms, but I have not tried it
yet.


$ convert -delay 100 *.png preg.gif


View your new gif.  Great for web pages and

education projects.


Imagemagick for other platforms:
 
 http://www.imagemagick.org/download/binaries/

No comments:

Post a Comment