images/smilies/convert.sh
author Dan
Wed, 29 Aug 2007 18:23:37 -0400
changeset 108 1c7f59df9474
parent 0 902822492a68
permissions -rw-r--r--
Implemented some extra functionality for friends/foes in comments; fixed lack of table_prefix in stats.php line 63

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