Last active
August 29, 2015 14:04
-
-
Save mojowen/2eab8362492868114042 to your computer and use it in GitHub Desktop.
Convert jpegs to gif and created animated gif
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
| find . -iname "*.jpg" -type f -exec sh -c 'sips --resampleHeight 500 -s format gif "$0" --out "${0%.JPG}.gif"' {} \; | |
| # http://www.lcdf.org/gifsicle/ | |
| gifsicle --delay=30 --loop *.gif > anim.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment