
Imagemagick can easily make an animated gif from existing images with a simple command. I’ll show you how!
First, install imagemagick:
$ sudo apt-get install imagemagick
Next, gather all of your .jpg images together in a single folder or directory.
If needed, date/name files in a numbered or sequential order. The manor in which they appear listed in your directory is the order they will appear in the animated GIF!
Next, resize your .jpg images to a smaller size, such as 640×480 by using the following command:
$ mogrify -resize 640x480 *.jpg
And finally, issue the command below to create an animated gif of your jpg images.
Increase the delay time for a longer transition between images. Tack loop 0 will loop your GIF indefinitely. Tack loop 3 would loop three times, for example.
$ convert -delay 20 -loop 0 *.jpg myimage.gif
Done!





Thanks for the tip! Was looking for an easier way than using layers in the GIMP… this was perfect!
Thanks dude! I always need a quick reminder of the command names and flags. Keep up the good work!
Thanks a lot. Worked great!
Thanks for the post. Worked perfectly.
Wow! Why didn’t anyone tell me about this months ago? I had no idea it was so easy!
Thanks a million!
thank you so much. a lifesaver you are.
Thank you very much. This was exactly what I was looking for.
Thanks. Worked like a charm.
D
convert.im6: memory allocation failed `image.gif’ What’s the problem? Only 20 jpgs, and 320×240.awaiting for your help,thanks
Twitter: scottlinux
Yeah it ran out of memory to generate that final gif.
Is this a virtual machine you can allocate more ram to?
Chech this video– http://www.youtube.com/watch?v=OFusYizJ-bA