Animated Nick

Specification

Notes on lcd files

Automatic conversion from animated gif

The “convert” program from imagemagick is the tool to use.

convert INPUTFILE.gif -background white +adjoin -resize 96×82 -monochrome -alpha Off -resize '96×68!' -depth 1 -negate out.gif

(This is 96 x 82 and 96 x 68, not that weird multiplication character the wiki makes of it.)

For some reason these must then be flattened (does not work on one line) before converting to LCD format:

for f in out-*.gif; do convert $f -depth 1 -flatten f$f; ../r0ket/tools/image/img2lcd.pl f$f; done

Now we can collect them:

cat `ls fout-*.lcd |sort -n -t- -k2 ` > nick.lcd

Copy nick.lcd to your r0ket badge. Have fun!

Sources for animations

Publish your animation

You can publish your animation or image here