Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Conversion Script
# do the conversion
convert $1 -coalesce temp.gif
convert -resize 130x130 temp.gif temp_new.gif
rm temp.gif
convert temp_new.gif temp.png
rm temp_new.gif
convert *.png -background white -alpha remove white.png
rm temp*.png
for i in *.png ; do perl "$i" ; done
export delay=200
export frames=""
for i in `ls *.lcd | sort -V`; do export frames="$frames $i $delay" ; done
perl -v out.an1 $frames
rm *.lcd
rm white*.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment