repo.or.cz
/
survex.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Minor translation updates
[survex.git]
/
lib
/
icons
/
png2winicon
blob
7afc4d7759e45d6595f0df6b1ab8758b15557cfc
1
#!/bin/sh
2
set -e
3
t
=
.tmp.$$
4
pngtopnm
"
$1
"
>
"
$t
.pnm"
5
pngtopnm
-alpha
"
$1
"
| pgmtopbm
-threshold
>
"
$t
.pbm"
6
pnmcomp
-alpha
=
"
$t
.pbm"
"
$t
.pnm"
"
$t
.pbm"
"
$t
.2.pnm"
7
ppmtowinicon
-andppms
"
$t
.2.pnm"
"
$t
.pbm"
>
"
$2
"
8
rm
"
$t
.pnm"
"
$t
.pbm"
"
$t
.2.pnm"