images/smilies/convert.sh
author Dan
Tue, 29 Jan 2008 17:29:08 -0500
changeset 390 9bcc185dc151
parent 0 902822492a68
permissions -rw-r--r--
Fixed JSON parser error in installer (caused by magic_quotes_gpc, wouldn't you know) and re-enabled server-side l10n debugging

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