images/smilies/convert.sh
author Dan
Sun, 21 Dec 2008 16:41:03 -0500
changeset 779 609e35845ec3
parent 0 902822492a68
permissions -rw-r--r--
load_component() now accepts an array, and most JS components are loaded all in one request now. Totally modular baby. And failsafe too.

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