images/smilies/convert.sh
author Dan
Mon, 04 Aug 2008 11:44:20 -0400
changeset 300 614f6ff1a855
parent 0 902822492a68
permissions -rw-r--r--
RNG now uses /dev/urandom instead of /dev/random to fix slowdowns during login. Potentially not as secure, but speed problems on some servers were of blocker severity.

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