images/smilies/render-smilies.sh
author Dan
Thu, 17 Dec 2009 22:42:32 -0500
changeset 1171 d42d46e13b36
parent 944 073a42e4177f
permissions -rw-r--r--
Fixed php_in_pages out-of-scope error in Special:UploadFile; modified RenderMan::preprocess_text() to take a permissions object for any page

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