Created
November 28, 2015 12:23
-
-
Save zeffii/04a1caaf6147be351251 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# usage: | |
# bash gifbatch.sh /home/zeffii/Videos/braindead/ | |
# gifsicle -O --colors 256 animated.gif > opt_animated_256.gif | |
mypath=$1 | |
pushd $mypath | |
pwd | |
convert -delay 10 -loop 0 *png animated.gif && | |
gifsicle -O animated.gif > opt_animated.gif | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment