images/smilies/render-smilies.sh
author Dan
Fri, 30 Jul 2010 14:39:47 -0400
changeset 1275 e15d38ae8623
parent 944 073a42e4177f
permissions -rw-r--r--
Lockouts were displaying separately when they should have been displayed together (incorrect grouping). Possibly breaks Postgres - needs re-test in that environment

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