images/smilies/render-smilies.sh
author Dan
Wed, 08 Jul 2009 23:37:01 -0400
changeset 1048 7b9132bfb5ce
parent 944 073a42e4177f
permissions -rw-r--r--
OK, JS preloading on a CDN works perfectly now. I'm sure of it.

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