images/smilies/render-smilies.sh
author Dan
Sat, 11 Jul 2009 20:25:50 -0400
changeset 1053 bdbb49cf6f1b
parent 944 073a42e4177f
permissions -rw-r--r--
One word: Internet Explorer 6. This includes a rewrite of $paths->parseAdminTree() that encodes to JSON instead of manually generating JS, so good-bye to stupid parser problems I hope.

#!/bin/bash
for f in *.svg; do
    echo Converting $f
    fname=`echo $f | cut -d '.' -f 1`
    rm -f $fname.png
    inkscape -z -f $f -w 22 -h 22 -e ./$fname.png
done