images/smilies/convert.sh
author Dan
Sat, 03 Nov 2007 18:26:24 -0400
changeset 196 4cc0736ca168
parent 0 902822492a68
permissions -rw-r--r--
Fix PHP4 compatibility (function def. of password_score)

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