images/smilies/convert.sh
author Dan
Thu, 07 Feb 2008 07:58:07 -0500
changeset 403 2c9745b5c09d
parent 0 902822492a68
permissions -rw-r--r--
Started on a Special:RecentChanges page, more to come.

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