images/smilies/render-smilies.sh
author Dan
Tue, 20 Apr 2010 11:38:59 -0400
changeset 1245 62763b17be2d
parent 944 073a42e4177f
permissions -rw-r--r--
Reordered wiki render stages so images happen before external links. Fixes a parser bug seen, among other places, on the Donation page.

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