summary refs log tree commit diff
path: root/pamtopdbimg.html
blob: f163e5221b5841670b7d36b7079011266d9646f6 (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pamtopdbimg User Manual</title></head>
<body>
<h1>pamtopdbimg</h1>
Updated: 25 September 2010
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
pamtopdbimg - convert a Netpbm image to a Palm Pilot Image Viewer PDB Image

<h2 id="synopsis">SYNOPSIS</h2>

<b>pamtopdbimg</b>

[<b>-notefile=</b><i>filename</i>]
[<b>-title=</b><i>text</i>]
[<b>-compressed</b>]
[<b>-uncompressed</b>]
[<b>-maybecompressed</b>]
[<b>-4depth</b>]

[<i>netpbmfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pamtopdbimg</b> reads a Netpbm image as input and produced a Palm Pilot
Image Viewer image (and Image record in a PDB file) as output.

<p>If the Netpbm image is black and white, the Pilot image is monochrome.
Otherwise, the Pilot image is either 4-level or 16-level grayscale, depending
on the <b>-4depth</b> option.


<h2 id="options">OPTIONS</h2>

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>pamtopdbimg</b> recognizes the following
command line options:

<dl compact>

<dt><b>-title=</b><i>text</i>

<dd>
The title of the image, to be included in the image.

<dt><b>-compressed</b>
<dt><b>-uncompressed</b>
<dt><b>-maybecompressed</b>

<dd>You may specify only one of these.
<b>-compressed</b> says to generate the image in compressed format.
<b>-uncompressed</b> says to generate the image in uncompressed format.
<b>-maybecompressed</b> says to generate whichever format is smaller
(the compression algorithm sometimes actually makes the data larger).

<dt><b>-4depth</b>

<dd>
This option makes <b>pamtopdbimg</b> create the image in 16-level
grayscale (4 bits per pixel) format.  If you don't specify this,
<b>pamtopdbimg</b> uses 4-level (2 bits per pixel) format.

<p>This option has no effect when the input is black and white
(maxval 1).  In that case, <b>pamtopdbimg</b> generates the monochrome
(1 bit per pixel) format regardless.

<dt><b>-notefile=</b><i>filename</i>

<dd>
Attach the note in the specified file to the image.
<p>
If you don't specify this, <b>pamtopdbimg</b> does not attach any note.

</dl>

<h2 id="seealso">SEE ALSO</h2>

<b><a href="pdbimgtopam.html">pdbimgtopam</a></b>,
<b><a href="palmtopnm.html">palmtopnm</a></b>,

<a href="pam.html">pam</a>,

<h2 id="history">HISTORY</h2>

<p><b>pamtopdbimg</b> was new in Netpbm 10.52 (September 2010).
It was modelled after Eric A. Howe's <b>imgvtopbm</b> package, which
dates back to September 1997.


<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#history">HISTORY</a>
</ul>
</body>
</html>