images/smilies/convert.sh
author Dan
Tue, 18 Mar 2008 16:56:56 -0400
changeset 508 459a447d7e79
parent 0 902822492a68
permissions -rw-r--r--
Fixed auto-detection of URL scheme, didn't work unless rewriting worked

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