images/smilies/render-smilies.sh
author Dan
Sun, 05 Jul 2009 00:57:53 -0400
changeset 1034 15fa1b4e730a
parent 944 073a42e4177f
permissions -rw-r--r--
Fixed onload_hooks[] being initted to null after runOnloadHooks() called (should now be initted to an array)

#!/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