images/smilies/convert.sh
author Dan
Sat, 11 Apr 2009 16:58:32 -0400
changeset 897 f31c252c52c1
parent 0 902822492a68
permissions -rw-r--r--
session: login_process_userdata_json hook should work with more than one installed auth plugin now

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