images/smilies/render-smilies.sh
author Dan
Mon, 29 Mar 2010 01:47:31 -0400
changeset 1228 9e9334417dbc
parent 944 073a42e4177f
permissions -rw-r--r--
Search: strip HTML tags from result text (DB pages only). Fixes issue 17.

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