images/smilies/convert.sh
author Dan
Wed, 17 Oct 2007 21:54:11 -0400
changeset 189 fd0e9c7a7b28
parent 0 902822492a68
permissions -rw-r--r--
Automatic set of state on Oxygen sidebar portlets should work now; reimplemented parts of the template parser (again) to workaround some PHP/PCRE issues and add support for parser plugins

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