ginebra/chrome/bedrockchrome/statusbar.snippet/icons/signal/svg_sig_convert.sh
changeset 0 1450b09d0cfd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ginebra/chrome/bedrockchrome/statusbar.snippet/icons/signal/svg_sig_convert.sh	Tue May 04 12:39:35 2010 +0300
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# icons
+ICON_WIDTH=20
+ICON_HEIGHT=20
+
+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
+