changeset 197 | a50b5fa04c57 |
child 199 | aa5f43bafad4 |
196:93d06827e31b | 197:a50b5fa04c57 |
---|---|
1 #!/bin/bash |
|
2 |
|
3 INKSCAPE=inkscape |
|
4 |
|
5 for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` |
|
6 do |
|
7 echo "$INKSCAPE" icons.svg -z -e $i.png -i $i |
|
8 rm -f $i.png |
|
9 "$INKSCAPE" icons.svg -z -e $i.png -i $i |
|
10 done |
|
11 |
|
12 cp ico24.png brz.png |
|
13 # doesn't work... cannot set 8bpp alpha. use gimp instead |
|
14 #convert ico*.png brz.ico |
|
15 #rm -f ico*.png |