images/smilies/render-smilies.sh
author Neal Gompa <neal@enanocms.org>
Thu, 01 Apr 2010 19:57:23 -0500
changeset 1233 202b25e2d0e6
parent 944 073a42e4177f
permissions -rw-r--r--
Fixed typo in install.json in pgsql "no php extension" error string

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