source:
git/lib/icons/png2winicon
@
ad83822
| Last change on this file since ad83822 was 90a3cd5, checked in by , 21 years ago | |
|---|---|
|
|
| File size: 247 bytes | |
| Line | |
|---|---|
| 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 | pngtopnm -alpha "$1" | pgmtopbm -threshold > $t.pbm |
| 6 | ppmtowinicon -andppms $t.pnm $t.pbm > "$2" |
| 7 | rm $t.pnm $t.pbm |
Note: See TracBrowser
for help on using the repository browser.
