images/smilies/convert.sh
author Dan
Wed, 06 Feb 2008 19:27:43 -0500
changeset 402 d907601ccad2
parent 0 902822492a68
permissions -rw-r--r--
Fixed some captcha bugs and made all captcha fields case-insensitive

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