images/smilies/convert.sh
author Dan
Thu, 26 Feb 2009 01:07:32 -0500
changeset 843 4415e50e4e84
parent 0 902822492a68
permissions -rw-r--r--
Added possibility for auth plugins, which can log a user in using non-standard authentication methods.

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