images/smilies/convert.sh
author Dan
Tue, 22 Jul 2008 14:49:18 -0500
changeset 651 ce9d78d7251d
parent 0 902822492a68
permissions -rw-r--r--
Improved JSON validation and error interface when validation fails; made rank manager support custom CSS

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