images/genicons.sh
changeset 197 a50b5fa04c57
child 199 aa5f43bafad4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/images/genicons.sh	Tue Jul 15 16:01:09 2008 +0200
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+INKSCAPE=inkscape
+
+for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
+do
+ echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
+ rm  -f $i.png
+ "$INKSCAPE" icons.svg -z -e $i.png -i $i
+done
+
+cp ico24.png brz.png
+# doesn't work... cannot set 8bpp alpha. use gimp instead
+#convert ico*.png brz.ico
+#rm -f ico*.png