images/smilies/convert.sh
author Dan
Tue, 16 Sep 2008 08:22:47 -0400
changeset 710 1fbce408813c
parent 0 902822492a68
permissions -rw-r--r--
Fixed IPv6 address match (the one from phpBB3 did not work)

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