Created
April 21, 2012 17:20
-
-
Save roban/2438552 to your computer and use it in GitHub Desktop.
make animated GIF from a series of JPG files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `convert` is part of Image Magick http://www.imagemagick.org | |
# The command below scales the images to 500 pixels (in some dimension), | |
# imposes a delay of 60/100ths of a second between frames, and loops indefinitely. | |
# The "-layers optimize" option reduces the final file size by optimizing the GIF frames, with a difference threshold | |
# controlled by the "-fuzz" parameter. | |
convert -fuzz 2% -layers optimize -scale 500 -delay 60 -loop 0 -verbose IMG_*.JPG animation.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment