images/smilies/convert.sh
author Dan
Tue, 09 Oct 2007 16:14:55 -0400
changeset 183 91127e62f38f
parent 0 902822492a68
permissions -rw-r--r--
Fixed some regular expressions in HTML optimization algorithm; regex page groups can be edited now (oops)

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