images/smilies/render-smilies.sh
author Dan Fuhry <dan@enanocms.org>
Mon, 19 Nov 2012 11:37:36 -0500
changeset 1370 24f5610ea589
parent 944 073a42e4177f
permissions -rw-r--r--
Make redirects send 302 Found instead of 307 to suppress "confirm POST resend" dialog in firefox

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