Linux shell make gif animation from jpg images

From Urandom
Jump to navigation Jump to search

First convert the JPG/PNG images to GIF

* Useful for creating a timelapse.
* This command is from the ImageMagic library.
* Run this command from the directory that has images. 
for a in `ls -1` ; do convert $a $a.gif; done
* Put them togeather into a single animation
gifsicle --colors 256 `ls -1 *.jpg.gif` > test.gif