images/smilies/convert.sh
author Dan
Fri, 23 Jan 2009 22:03:39 -0500
changeset 819 7ef806a90d44
parent 0 902822492a68
permissions -rw-r--r--
Installer: add RewriteBase to .htaccess to work properly under aliased Apache setups (generated 404s in QA)

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