images/smilies/convert.sh
author Dan
Sun, 22 Mar 2009 00:46:44 -0400
changeset 884 d6c7b310295d
parent 0 902822492a68
permissions -rw-r--r--
Better "no thumbnail" theme placeholder image. But not much better.

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