images/smilies/convert.sh
author Dan
Sun, 23 Sep 2007 23:03:34 -0400
changeset 141 13a43f08ffe1
parent 0 902822492a68
permissions -rw-r--r--
SECURITY: Anonymous user can't be edited now; user accounts could be deleted even if errors detected; user CP saving disabled for demo mode

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