images/smilies/convert.sh
author Dan
Thu, 05 Jul 2007 10:37:36 -0400
changeset 42 45ebe475ff75
parent 0 902822492a68
permissions -rw-r--r--
I dunno how many times I'm gonna have to fix the "problem seems to be the hex conversion" bug, but this is at least the fourth try.

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