-
-
Save sputn1ck/656aec5054a37a5e5b91 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 | |
mkdir -p image | |
rm image/* | |
convert $1.gif -coalesce image/out%05d.gif | |
str="$1.an1" | |
cd image | |
rm `ls -t | awk 'NR % 2 == 0'` | |
cd .. | |
for i in $( ls ./image); do | |
convert image/$i -depth 16 -resize 128x128\! image/$i.small | |
./img2lcd.pl image/$i.small | |
str="$str image/$i.lcd 1" | |
done | |
./lcd2ani.pl $str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment