Skip to content

Instantly share code, notes, and snippets.

@sputn1ck sputn1ck/to_ani.sh Secret
Created Aug 13, 2015

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.