images/smilies/convert.sh
author Dan
Wed, 09 Jul 2008 21:02:09 -0400
changeset 617 9e4ccf67b6ea
parent 0 902822492a68
permissions -rw-r--r--
Fixed missing require() on search.php in rebuild_page_index()

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