images/smilies/render-smilies.sh
author Dan
Fri, 21 Aug 2009 20:37:18 -0400
changeset 1099 73abd46f5148
parent 944 073a42e4177f
permissions -rw-r--r--
A bit of shuffling around code related to determining the page title from the URL. It's done in common now, and $paths becomes more of an information repository rather than an information gatherer. Note: This BREAKS $paths->fullpage/$paths->getParam() in *_preloader!

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