images/smilies/convert.sh
author Dan
Mon, 07 Jul 2008 18:12:30 -0400
changeset 607 935f3799b654
parent 0 902822492a68
permissions -rw-r--r--
First stab at cache management backend. Everything seems to have been tested and working so far, but a number of things require a more specialized cache and can't go through the framework (e.g. user ranks which use references to map usernames to user IDs)

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