author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 14 May 2010 15:40:36 +0300 | |
changeset 1 | b0dd75e285d2 |
parent 0 | 1450b09d0cfd |
permissions | -rw-r--r-- |
#!/bin/sh ICON_WIDTH=40 ICON_HEIGHT=40 echo echo "Usage: $0 <list of svg files to convert>" echo "This script converts svg icons into png icons with w=$ICON_WIDTH h=$ICON_HEIGHT" echo "DPI is default, 90dpi" echo "Edit the script to change the size\n" echo "... Requires librsvg2-bin package from ubuntu\n" echo "CONVERTING the files listed below:" for i in $*; do rsvg-convert -w $ICON_WIDTH -h $ICON_HEIGHT $i -o `echo $i | sed -e s/svg$/png/` echo $i; done