| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Pamtopdbimg User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>pamtopdbimg</h1> |
| 5 |
Updated: 12 March 2022 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
|
| 9 |
<h2>NAME</h2> |
| 10 |
pamtopdbimg - convert a Netpbm image to a Palm Pilot Image Viewer PDB Image |
| 11 |
|
| 12 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 13 |
|
| 14 |
<b>pamtopdbimg</b> |
| 15 |
|
| 16 |
[<b>-notefile=</b><i>filename</i>] |
| 17 |
[<b>-title=</b><i>text</i>] |
| 18 |
[<b>-compressed</b>] |
| 19 |
[<b>-uncompressed</b>] |
| 20 |
[<b>-maybecompressed</b>] |
| 21 |
[<b>-4depth</b>] |
| 22 |
[<b>-fixedtime</b>] |
| 23 |
|
| 24 |
[<i>netpbmfile</i>] |
| 25 |
|
| 26 |
<h2 id="description">DESCRIPTION</h2> |
| 27 |
|
| 28 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 29 |
|
| 30 |
<p><b>pamtopdbimg</b> reads a Netpbm image as input and produced a Palm Pilot |
| 31 |
Image Viewer image (and Image record in a PDB file) as output. |
| 32 |
|
| 33 |
<p>If the Netpbm image is black and white, the Pilot image is monochrome. |
| 34 |
Otherwise, the Pilot image is either 4-level or 16-level grayscale, depending |
| 35 |
on the <b>-4depth</b> option. |
| 36 |
|
| 37 |
|
| 38 |
<h2 id="options">OPTIONS</h2> |
| 39 |
|
| 40 |
<p>In addition to the options common to all programs based on libnetpbm |
| 41 |
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> |
| 42 |
Common Options</a>), <b>pamtopdbimg</b> recognizes the following |
| 43 |
command line options: |
| 44 |
|
| 45 |
<dl compact> |
| 46 |
|
| 47 |
<dt><b>-title=</b><i>text</i> |
| 48 |
|
| 49 |
<dd> |
| 50 |
The title of the image, to be included in the image. |
| 51 |
|
| 52 |
<dt><b>-compressed</b> |
| 53 |
<dt><b>-uncompressed</b> |
| 54 |
<dt><b>-maybecompressed</b> |
| 55 |
|
| 56 |
<dd>You may specify only one of these. |
| 57 |
<b>-compressed</b> says to generate the image in compressed format. |
| 58 |
<b>-uncompressed</b> says to generate the image in uncompressed format. |
| 59 |
<b>-maybecompressed</b> says to generate whichever format is smaller |
| 60 |
(the compression algorithm sometimes actually makes the data larger). |
| 61 |
|
| 62 |
<dt><b>-4depth</b> |
| 63 |
|
| 64 |
<dd> |
| 65 |
This option makes <b>pamtopdbimg</b> create the image in 16-level |
| 66 |
grayscale (4 bits per pixel) format. If you don't specify this, |
| 67 |
<b>pamtopdbimg</b> uses 4-level (2 bits per pixel) format. |
| 68 |
|
| 69 |
<p>This option has no effect when the input is black and white |
| 70 |
(maxval 1). In that case, <b>pamtopdbimg</b> generates the monochrome |
| 71 |
(1 bit per pixel) format regardless. |
| 72 |
|
| 73 |
<dt><b>-notefile=</b><i>filename</i> |
| 74 |
|
| 75 |
<dd> |
| 76 |
Attach the note in the specified file to the image. |
| 77 |
<p> |
| 78 |
If you don't specify this, <b>pamtopdbimg</b> does not attach any note. |
| 79 |
|
| 80 |
<dt><b>-fixedtime</b> |
| 81 |
<dd> |
| 82 |
Fake the mtime and ctime vaues in the PDB image with a value that is the |
| 83 |
same every time you run the program. This facilitates testing and |
| 84 |
verification because it means with the same input you always get the |
| 85 |
same output. |
| 86 |
<p> |
| 87 |
This option was new in Netpbm 10.98 (March 2022). |
| 88 |
|
| 89 |
</dl> |
| 90 |
|
| 91 |
<h2 id="seealso">SEE ALSO</h2> |
| 92 |
|
| 93 |
<b><a href="pdbimgtopam.html">pdbimgtopam</a></b>, |
| 94 |
<b><a href="palmtopnm.html">palmtopnm</a></b>, |
| 95 |
|
| 96 |
<a href="pam.html">pam</a>, |
| 97 |
|
| 98 |
<h2 id="history">HISTORY</h2> |
| 99 |
|
| 100 |
<p><b>pamtopdbimg</b> was new in Netpbm 10.52 (September 2010). |
| 101 |
It was modelled after Eric A. Howe's <b>imgvtopbm</b> package, which |
| 102 |
dates back to September 1997. |
| 103 |
|
| 104 |
|
| 105 |
<hr> |
| 106 |
<h2 id="index">Table Of Contents</h2> |
| 107 |
<ul> |
| 108 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 109 |
<li><a href="#description">DESCRIPTION</a> |
| 110 |
<li><a href="#options">OPTIONS</a> |
| 111 |
<li><a href="#seealso">SEE ALSO</a> |
| 112 |
<li><a href="#history">HISTORY</a> |
| 113 |
</ul> |
| 114 |
</body> |
| 115 |
</html> |