images/smilies/convert.sh
author Dan
Fri, 26 Oct 2007 19:28:54 -0400
changeset 204 473cc747022a
parent 0 902822492a68
permissions -rw-r--r--
You know what folks, a lot of Mercurial merges failed, and I just now figured out why. So now all changes from stable are permanently synced in.

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