images/smilies/render-smilies.sh
author Dan
Mon, 30 Nov 2009 22:34:58 -0500
changeset 1141 5a858d6f3634
parent 944 073a42e4177f
permissions -rw-r--r--
Admin User Manager: When a user with a DB-driven user page is renamed, also change urlname of their user page. Fixes issue 3.

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