images/smilies/convert.sh
author Dan
Fri, 10 Aug 2007 15:57:22 -0400
changeset 86 c162ca39db8f
parent 0 902822492a68
permissions -rw-r--r--
Finished pagination code (was incomplete in previous revision) and added a few hacks for an upcoming theme

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