Skip to content

Instantly share code, notes, and snippets.

@cwittyman
Forked from keepitcomplicated/gist:10731533
Created August 13, 2014 14:51
Show Gist options
  • Save cwittyman/df8665a4a5875beb487f to your computer and use it in GitHub Desktop.
Save cwittyman/df8665a4a5875beb487f to your computer and use it in GitHub Desktop.
mkdir ./gif; for f in *.png; do y=${f%.png}; convert -dispose 3 -delay 0 -deconstruct -loop 0 ./$f -crop 40x40 +repage -depth 4 ./gif/$y.gif; echo "Converting $y to GIF"; echo "—~—~—~—~—~—~—~—~—~—~—~–"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment