images/smilies/render-smilies.sh
author Dan
Sun, 27 Dec 2009 02:28:21 -0500
changeset 1196 704ba4b9819b
parent 944 073a42e4177f
permissions -rw-r--r--
All javascript and css requests now append the version number to the URL to break browser caches and prevent from having to clear the cache upon upgrade

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