images/smilies/convert.sh
author Dan
Thu, 27 Dec 2007 11:35:00 -0500
changeset 339 5d62ef764b0d
parent 0 902822492a68
permissions -rw-r--r--
Fixed search indexer causing duplicate keys when two "words" of 64+ characters encountered and first 64 characters are the same (thanks Vadi); attempt to fix onunload confirmation during page editing

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