images/smilies/convert.sh
author Dan
Mon, 31 Dec 2007 21:16:27 -0500
changeset 267 105457df35e5
parent 0 902822492a68
permissions -rw-r--r--
Integrating patch for PHP 6.0-dev compatibility

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