images/smilies/render-smilies.sh
author Dan
Fri, 29 May 2009 20:22:30 -0400
changeset 1014 930c1fdd3e9f
parent 944 073a42e4177f
permissions -rw-r--r--
Fixed missing global $cache; in $plugins->upgrade_plugin();

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