images/smilies/convert.sh
author Dan
Wed, 25 Jul 2007 18:06:34 -0400
changeset 74 68469a95658d
parent 0 902822492a68
permissions -rw-r--r--
Various bugfixes and cleanups, too much to remember... see the diffs for what got changed :-)

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