images/smilies/convert.sh
author Dan
Mon, 11 Aug 2008 21:33:46 -0400
changeset 681 424ea7aac0ca
parent 0 902822492a68
permissions -rw-r--r--
SECURITY: Full query is no longer shown on SQL injection attempt; silenced calls to mysql_unbuffered_query() due to some untraceable yet harmless errors

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