images/smilies/convert.sh
author Dan
Sun, 10 Feb 2008 19:35:06 -0500
changeset 407 35d94240a197
parent 0 902822492a68
permissions -rw-r--r--
Mass-fixed all AJAX functions to also check the HTTP status code before parsing the response

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