images/smilies/convert.sh
author Dan
Sun, 25 Nov 2007 19:23:50 -0500
changeset 294 4ab30e8dd168
parent 0 902822492a68
permissions -rw-r--r--
Nothing special. ksort()ing list of allowed filetypes in the admin panel to make editing the list marginally easier

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