1Palmtopnm User Manual(0)                              Palmtopnm User Manual(0)
2
3
4

NAME

6       palmtopnm - convert a Palm Bitmap to a PNM image
7
8

SYNOPSIS

10       palmtopnm
11
12       [-verbose]
13
14       [-rendition N]
15
16       [-showhist] [palmfile] palmtopnm
17
18       -transparent
19
20       [-verbose]
21
22       [palmfile]
23
24

DESCRIPTION

26       This program is part of Netpbm(1).
27
28       palmtopnm reads a Palm Bitmap as input, from Standard Input or palmfile
29       and produces a PPM image as output.
30
31       Alternatively (when you specify  -transparent),  palmtopnm  writes  the
32       value of the transparent color in the Palm Bitmap to Standard Output.
33
34       Palmtopnm  can  convert Palm Bitmaps with the following features.  This
35       does not mean that it doesn't handle other features.   These  are  just
36       the ones we found worth mentioning.
37
38
39       ·      Version 0
40
41       ·      Version 1
42
43       ·      Version 2
44
45       ·      Version 3 (new in Netpbm 10.27 (March 2005))
46
47       ·      Scanline compression
48
49       ·      RLE compression
50
51       ·      Packbits compression (new in Netpbm 10.27 (March 2005))
52
53
54

OPTIONS

56       -verbose
57              Display various interesting information about the input file and
58              process.
59
60
61       -transparent
62              If the Palm Bitmap has a transparent color set, palmtopnm writes
63              the value for that color to Standard Output in the form #RRGGBB,
64              where RR, GG, and BB are two-digit hexadecimal numbers  indicat‐
65              ing a value in the range 0 through 255.  If no transparent color
66              is set in the Bitmap, palmtopnm writes nothing.  palmtopnm  does
67              not generate any output image when you specify -transparent.
68
69
70       -rendition N
71              Palm  Bitmaps  may  contain  several different renditions of the
72              same image, with different depths.  By default, palmtopnm  oper‐
73              ates  on  the first rendition (rendition number 1) in the image.
74              This switch allows you to operate on a different rendition.  The
75              value  must  be  between  1  and the number of renditions in the
76              image, inclusive.
77
78
79       -showhist
80              This option causes palmtopnm to write a histogram of  colors  in
81              the input file to Standard Error.
82
83
84
85

SEE ALSO

87       pnmtopalm(1), pamtopdbimg(1), pnm(1),
88
89

LIMITATIONS

91       You  cannot generate an alpha mask if the Palm Bitmap has a transparent
92       color.  However, you can still do this with ppmcolormask with a  Netpbm
93       pipe similar to:
94
95       palmtopnm  bitmap.palm  |  ppmcolormask  `palmtopnm  -transparent  bit‐
96       map.palm`
97
98

HISTORY

100       Before Netpbm 10.23 (July 2004), there was a -forceplain  option.   But
101       that had been redundant for a long time, since the Netpbm common option
102       -plain does the same thing.
103
104

AUTHORS

106       This program was originally written as Tbmptopnm.c,  by  Ian  Goldberg.
107       It  was heavily modified by Bill Janssen to add color, compression, and
108       transparency function.
109
110       Copyright 1995-2001 by Ian Goldberg and Bill Janssen.
111
112
113
114netpbm documentation            26 January 2005       Palmtopnm User Manual(0)
Impressum