images/smilies/convert.sh
author Dan
Mon, 16 Jun 2008 19:04:33 -0400
changeset 575 9c1ab9c74662
parent 0 902822492a68
permissions -rw-r--r--
Fixed two bugs in paginator: noisy warning when rows run out and empty strings not being treated as valid from formatting functions

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