images/smilies/convert.sh
author Dan
Mon, 05 May 2008 20:28:13 -0400
changeset 544 81b4499a963e
parent 0 902822492a68
permissions -rw-r--r--
Added TinyMCE compression support and made some supporting modifications to common.php

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