version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
palmtopnm |
| |
|
2 |
!!!palmtopnm |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
SEE ALSO |
| |
|
8 |
BUGS |
| |
|
9 |
AUTHORS |
| |
|
10 |
---- |
| |
|
11 |
!!NAME |
| |
|
12 |
|
| |
|
13 |
|
| |
|
14 |
palmtopnm - convert a Palm pixmap into a portable anymap |
| |
|
15 |
!!SYNOPSIS |
| |
|
16 |
|
| |
|
17 |
|
| |
|
18 |
__palmtopnm__ [[__-verbose__] [[__-rendition__ |
| |
|
19 |
''N''] [[__-showhist__] |
| |
|
20 |
[[__-forceplain__] [[''pnmfile'']__ |
| |
|
21 |
palmtopnm -transparent__ [[__-verbose__] |
| |
|
22 |
[[''pnmfile''] |
| |
|
23 |
!!DESCRIPTION |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
Reads a Palm pixmap as input, from stdin or ''pnmfile''. |
| |
|
27 |
Produces either a portable pixmap as output, or writes the |
| |
|
28 |
value of the transparent color in the Palm pixmap to |
| |
|
29 |
stdout. |
| |
|
30 |
!!OPTIONS |
| |
|
31 |
|
| |
|
32 |
|
| |
|
33 |
__-verbose__ |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
Display various interesting information about the input file |
| |
|
37 |
and process. |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
__-transparent__ |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
If the Palm pixmap has a transparent color set, the RGB |
| |
|
44 |
value for that color will be written to stdout as in the |
| |
|
45 |
form #RRGGBB, where RR, GG, and |
| |
|
46 |
BB are two-digit hexadecimal numbers indicating a |
| |
|
47 |
value between 0 and 255. If no transparent color is set in |
| |
|
48 |
the bitmap, nothing will be output. No additional output |
| |
|
49 |
will be generated; no anymap will be output. |
| |
|
50 |
|
| |
|
51 |
|
| |
|
52 |
__-rendition N__ |
| |
|
53 |
|
| |
|
54 |
|
| |
|
55 |
Palm pixmaps may contain several different renditions of the |
| |
|
56 |
same pixmap, with different depths. By default, |
| |
|
57 |
__palmtopnm__ operates on the first rendition (rendition |
| |
|
58 |
number 1) in the pixmap. This switch allows you to operate |
| |
|
59 |
on a different rendition. The value must be between 1 and |
| |
|
60 |
the number of renditions in the pixmap, |
| |
|
61 |
inclusive. |
| |
|
62 |
|
| |
|
63 |
|
| |
|
64 |
__-showhist__ |
| |
|
65 |
|
| |
|
66 |
|
| |
|
67 |
Writes a histogram of colors in the input file to |
| |
|
68 |
stderr. |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
__-forceplain__ |
| |
|
72 |
|
| |
|
73 |
|
| |
|
74 |
Force the output anymap to be in ASCII 'plain' netpbm |
| |
|
75 |
format. |
| |
|
76 |
!!SEE ALSO |
| |
|
77 |
|
| |
|
78 |
|
| |
|
79 |
pnmtopalm(1), __pnm(5)__ |
| |
|
80 |
!!BUGS |
| |
|
81 |
|
| |
|
82 |
|
| |
|
83 |
An additional compression format, |
| |
|
84 |
|
| |
|
85 |
|
| |
|
86 |
You currently cannot generate an alpha mask if the Palm |
| |
|
87 |
pixmap has a transparent color. However, you can still do |
| |
|
88 |
this with __ppmcolormask__ with a Netpbm pipe similar |
| |
|
89 |
to: |
| |
|
90 |
|
| |
|
91 |
|
| |
|
92 |
__palmtopnm pixmap.palm | ppmcolormask `palmtopnm |
| |
|
93 |
-transparent pixmap.palm`__ |
| |
|
94 |
!!AUTHORS |
| |
|
95 |
|
| |
|
96 |
|
| |
|
97 |
This program was originally written as Tbmptopnm.c, by Ian |
| |
|
98 |
Goldberg. It was heavily modified by Bill Janssen to add |
| |
|
99 |
color, compression, and transparency function. |
| |
|
100 |
Copyright 1995-2001 by Ian Goldberg and Bill |
| |
|
101 |
Janssen. |
| |
|
102 |
---- |