images/smilies/render-smilies.sh
author Dan
Sat, 11 Jul 2009 20:28:03 -0400
changeset 1054 e6b14d33ac55
parent 944 073a42e4177f
permissions -rw-r--r--
Renderer: added "smart paragraphs" for templates. <p><b>Foo</b> {bar}</p> where bar is multiline is basically turned into proper XHTML paragraphs.

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