images/smilies/convert.sh
author Dan
Mon, 11 Aug 2008 21:35:26 -0400
changeset 683 fcc494e02baf
parent 0 902822492a68
permissions -rw-r--r--
Fixed a couple bugs in the check-for-updates code.

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