images/smilies/convert.sh
author Dan
Tue, 26 Feb 2008 19:51:43 -0500
changeset 463 0857911fb7f1
parent 0 902822492a68
permissions -rw-r--r--
Fixed some bugs with $paths->getParam() and $paths->get_pageid_from_url() when slashes are in the namespace prefix. Result of testing on Windows Vista + Apache 2.2. Using TortoiseHG

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