images/smilies/convert.sh
author Dan
Mon, 05 May 2008 20:06:37 -0400
changeset 542 5841df0ab575
parent 0 902822492a68
permissions -rw-r--r--
Added ETag support and increased caching settings to try and speed the system up. Result of a YSlow audit.

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