images/smilies/convert.sh
author Dan
Tue, 22 Jul 2008 17:08:05 -0500
changeset 661 5dd55a9240f8
parent 0 902822492a68
permissions -rw-r--r--
Made Admin:LangManager purge caches properly when uninstalling a language

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