Last change
on this file was
dfa3e57,
checked in by Olly Betts <olly@…>, 15 months ago
|
Overhaul scripts to convert to .ico
The existing scripts were failing with modern NetPBM versions.
We were using a long-deprecated pngtopnm tool, so switch to its
replacement pngtopam which can convert from PNG to .ico in fewer
steps because we don't have to handle the mask separately.
Remove unused variant version src/png2winicon.
Remove xpm2winicon and instead convert XPM to .ico via PNG.
|
-
Property mode set to
100755
|
File size:
120 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | set -e |
---|
3 | t=.tmp.$$ |
---|
4 | pngtopam -alphapam "$1" > "$t.pam" |
---|
5 | pamtowinicon -truetransparent "$t.pam" > "$2" |
---|
6 | rm "$t.pam" |
---|
Note: See
TracBrowser
for help on using the repository browser.