images/smilies/convert.sh
author Dan
Mon, 14 Apr 2008 22:02:04 -0400
changeset 537 547b7ba6d535
parent 0 902822492a68
permissions -rw-r--r--
Added a really simple message box system based on miniPrompts, this will be used for confirmation windows like delete_page, clear_logs, delvote, etc.

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