version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
winicontoppm |
|
|
2 |
!!!winicontoppm |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
winicontoppm - convert a Windows .ico file into 1 or more portable pixmap files |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__winicontoppm__ [[''-writeands''] |
|
|
18 |
[[''-allicons|-bestqual''] [[''-multippm''] |
|
|
19 |
[[''-verbose''] [[''iconfile''] |
|
|
20 |
[[''ppmdestfile''] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
Reads a Microsoft Windows .ico file, converts it to one or |
|
|
25 |
more ppms. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
A Windows icon contains 1 or more images, at different |
|
|
29 |
resolutions and color depths. Each image has an 'and' mask, |
|
|
30 |
which contains transparancy data. |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
By default, the output goes to Standard Output. If you |
|
|
34 |
specify ''ppmdestfile'', output goes into one or more |
|
|
35 |
files named as follows. If it's just one file (i.e. you |
|
|
36 |
specify the __-multippm__ option or don't specify |
|
|
37 |
__-allicons__), the file specification is |
|
|
38 |
''ppmdestfile''__.ppm__. If it's multiple files, their |
|
|
39 |
file specifications are ''ppmdestfile''___1.ppm__, |
|
|
40 |
''ppmdestfile''___2.ppm__, etc. |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
When you specify the __-writeands__ option, the filenames |
|
|
44 |
above are modified to include the string __xor__ as in |
|
|
45 |
''ppmdestfile''___xor.ppm__ or |
|
|
46 |
''ppmdestfile''___xor_1.ppm__. |
|
|
47 |
!!OPTIONS |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__-writeands__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
For each icon written, also write the 'and' (transparancy) |
|
|
54 |
mask as a seperate PBM file. It's name is of the form |
|
|
55 |
''ppmdestfile''___and.pbm__ or |
|
|
56 |
''ppmdestfile''___and_1.pbm__. |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
__-allicons__ |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
Extract all images from the .ico file. |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
__-bestqual__ |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
Extract only the best quality (largest, then highest bpp) |
|
|
69 |
image from the .ico file. |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
__-multippm__ |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Write all ppms to a single file. |
|
|
76 |
!!SEE ALSO |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
ppmtowinicon(1), ppm(5) |
|
|
80 |
!!AUTHOR |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
Copyright (C) 2000 by Lee Benfield. |
|
|
84 |
---- |