images/smilies/convert.sh
author Dan
Tue, 22 Jul 2008 17:05:10 -0500
changeset 657 8525475e27d5
parent 0 902822492a68
permissions -rw-r--r--
Made admin theme use jsres instead of JS_{HEADER,FOOTER} because of incompatibilities with Runt

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