images/smilies/render-smilies.sh
author Dan Fuhry <dan@enanocms.org>
Mon, 19 Nov 2012 11:38:34 -0500
changeset 1371 d9814c4c2948
parent 944 073a42e4177f
permissions -rw-r--r--
Add Output class for Comet (HTTP incremental streams) -- experimental and not working with every browser/apache configuration.

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