images/smilies/convert.sh
author Dan
Thu, 26 Jun 2008 20:59:23 -0400
changeset 297 4f0f987717c6
parent 0 902822492a68
permissions -rw-r--r--
Fixed E_STRICT under PHP 5 and 6 (reference operator in instanciation)

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