images/smilies/render-smilies.sh
author Dan Fuhry <dan@enanocms.org>
Thu, 02 Jun 2011 05:28:28 -0400
changeset 1343 2a31905a567d
parent 944 073a42e4177f
permissions -rw-r--r--
Removed explicit TinyMCE support, replaced with support for arbitrary page_formats. The TinyMCE files will be removed in an upcoming commit.

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