images/smilies/convert.sh
author Dan
Tue, 02 Dec 2008 21:11:22 -0500
changeset 760 60c132a5bc8e
parent 0 902822492a68
permissions -rw-r--r--
External links in sidebar now work with manual port numbers and IPv6 addresses

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