images/smilies/convert.sh
author Dan
Thu, 26 Feb 2009 01:04:27 -0500
changeset 841 83bb60402f51
parent 0 902822492a68
permissions -rw-r--r--
HMAC functions are now standards-compliant (not a security issue). This BREAKS 1.1.6-hg passwords!

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