source:
git/src/png2winicon
@
93a7c46
Last change on this file since 93a7c46 was 79ee183, checked in by , 22 years ago | |
---|---|
|
|
File size: 194 bytes |
Rev | Line | |
---|---|---|
[79ee183] | 1 | #!/bin/sh |
2 | t=/tmp/png2winicon.$$ | |
3 | pngtopnm "$1" > $t.pnm | |
4 | pngtopnm -alpha "$1" | pgmtopbm -threshold | convert -negate pbm:- pbm:$t.pbm | |
5 | ppmtowinicon -andppms $t.pnm $t.pbm > "$2" | |
6 | rm $t.pnm $t.pbm |
Note: See TracBrowser
for help on using the repository browser.