images/smilies/convert.sh
author Dan
Sun, 25 Nov 2007 21:40:42 -0500
changeset 240 ee1fc84f12a8
parent 0 902822492a68
permissions -rw-r--r--
SECURITY: Tighten default allowed file types; make sure search index rebuild is performed on upgrade

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