Created
January 17, 2013 11:57
-
-
Save grapefrukt/4555456 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
# converts avi file to gif animation, call using file name without extension | |
# the palette from color.png (created manually) will be used for all frames | |
# tweak framerate using the -delay argument (1x20) means 20 fps | |
target=resource-spawn | |
convert -quiet -delay 1x20 $target.avi +dither -map color.png tmp.gif | |
convert tmp.gif -layers OptimizeTransparency +map $target.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment