1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Palmtopnm User Manual</TITLE></HEAD>
<BODY>
<H1>palmtopnm</H1>
Updated: 26 January 2005
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
palmtopnm - convert a Palm Bitmap to a PNM image
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>palmtopnm</B>
[<B>-verbose</B>]
[<B>-rendition</B> <I>N</I>]
[<B>-showhist</B>]
<BR>
[<I>palmfile</I>]
<BR>
<B>palmtopnm</B>
<B>-transparent</B>
[<B>-verbose</B>]
[<I>palmfile</I>]
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><b>palmtopnm</b> reads a Palm Bitmap as input, from Standard Input or
<I>palmfile</I> and produces a PPM image as output.
<p>Alternatively (when you specify <b>-transparent</b>),
<b>palmtopnm</b> writes the value of the transparent color in the Palm
Bitmap to Standard Output.
<p><b>Palmtopnm</b> can convert Palm Bitmaps with the following features.
This does not mean that it doesn't handle other features. These are just
the ones we found worth mentioning.
<ul>
<li>Version 0
<li>Version 1
<li>Version 2
<li>Version 3 (new in Netpbm 10.27 (March 2005))
<li>Scanline compression
<li>RLE compression
<li>Packbits compression (new in Netpbm 10.27 (March 2005))
</ul>
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-verbose</B>
<DD>
Display various interesting information about the input file and process.
<DT><B>-transparent</B>
<DD>
If the Palm Bitmap has a transparent color set,
<b>palmtopnm</b> writes the value for that
color to Standard Output in the form #RRGGBB, where
RR, GG, and BB are two-digit hexadecimal numbers
indicating a value in the range 0 through 255. If no transparent color is set
in the Bitmap, <b>palmtopnm</b> writes nothing. <b>palmtopnm</b> does not
generate any output image when you specify <b>-transparent</b>.
<DT><B>-rendition N</B>
<DD>
Palm Bitmaps may contain several different renditions of the same
image, with different depths. By default, <B>palmtopnm </B> operates
on the first rendition (rendition number 1) in the image. This
switch allows you to operate on a different rendition. The value must
be between 1 and the number of renditions in the image, inclusive.
<DT><B>-showhist</B>
<DD>
This option causes <b>palmtopnm</b> to
write a histogram of colors in the input file to Standard Error.
</DL>
<A NAME="lbAF"> </A>
<H2>SEE ALSO</H2>
<B><A HREF="pnmtopalm.html">pnmtopalm</A></B>,
<A HREF="pnm.html">pnm</A>,
<a
href="http://www.access-company.com/developers/documents/docs/palmos/PalmOSReference/Bitmap.html">PalmOS
Reference</a>,
<a
href="http://www.access-company.com/developers/documents/docs/palmos/PalmOSCompanion/UserInterface.html#1010236">PalmOS
Companion</a>.
<H2 id="limitations">LIMITATIONS</H2>
<P>You cannot generate an alpha mask if the Palm Bitmap has a
transparent color. However, you can still do this with
<B>ppmcolormask</B> with a Netpbm pipe similar to:
<P>
<B>palmtopnm bitmap.palm |
ppmcolormask `palmtopnm -transparent bitmap.palm`</B>
<A name="history"></A>
<h2>HISTORY</h2>
<p>Before Netpbm 10.23 (July 2004), there was a <b>-forceplain</b>
option. But that had been redundant for a long time, since the Netpbm
common option <b>-plain</b> does the same thing.
<A NAME="lbAH"> </A>
<H2>AUTHORS</H2>
This program was originally written as Tbmptopnm.c, by Ian Goldberg.
It was heavily modified by Bill Janssen to add color, compression, and
transparency function.
<p>Copyright 1995-2001 by Ian Goldberg and Bill Janssen.
<HR>
<A NAME="index"> </A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#limitations">LIMITATIONS</A>
<LI><A HREF="#history">HISTORY</A>
<LI><A HREF="#lbAH">AUTHORS</A>
</UL>
</BODY>
</HTML>
|