summary refs log tree commit diff
path: root/pcdovtoppm.html
blob: 8a07dd6befd3101b8128a287fcad2d65ffade96a (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
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pcdovtoppm User Manual</title></head>
<body>
<h1>pcdovtoppm</h1>
Updated: 02 August 2020
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

pcdovtoppm - create index image for a photo CD

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

<b>pcdovtoppm</b>
[<b>-m </b><i>width</i>]
[<b>-s </b><i>size</i>]
[<b>-a </b><i>across</i>]
[<b>-c </b><i>colors</i>]
[<b>-f </b><i>font</i>]
[<b>-b</b>|<b>-w</b>]
[<i>pcdfile</i>]


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

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

<p>This program generates an index image in PPM format for a photo CD,
based on the photo CD overview file.

<p>You can achieve a similar result with <b>hpcdtoppm -Overview</b>
followed by <b>pnmindex -black</b> on the generated PPM images.

<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>pcdovtoppm</b> recognizes the following
command line options:

<dl compact>
<dt><b>-w</b><i>width</i>

<dd>
Maximum width of the result image (default: 1152).
<dt><b>-s</b><i>size</i>

<dd>
Maximum size of each of the images (default: 192).
<dt><b>-a</b><i>across</i>

<dd>
Maximum number of images across (default: 6).
<dt><b>-c</b><i>colors</i>

<dd>
Maximum number of colors, or 
<b>n</b>

to mean no quantization
<dt><b>-f</b><i>font</i>

<dd>
Font to be used for annotation (default: internal font).
<dt><b>-b</b>

<dd>
Black background color (default).
<dt><b>-w</b>

<dd>
White background color.

</dl>

<p>
The Netpbm common options <b>-version</b>, <b>-plain</b> and
<b>-quiet</b> were implemented starting with Netpbm 10.91 (June 2020).  Before
that, none of these options were valid.


<h2 id="examples">EXAMPLES</h2>

<pre>
<b>pcdovtoppm -m 768 -s 96 -f smallfont.pbm overview.pcd &gt; overview.ppm</b>
</pre>

<pre>
<b>pcdovtoppm /cdrom/photo_cd/overview.pcd | ppmtojpeg &gt; overview.jpg</b>
</pre>

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

<p>This program was formerly called <b>pcdindex</b>, which did not fit
Netpbm naming conventions.

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

<b><a href="hpcdtoppm.html">hpcdtoppm</a></b>,
<b><a href="pnmindex.html">pnmindex</a></b>,
<b><a href="ppmtojpeg.html">ppmtojpeg</a></b>,
<b><a href="ppm.html">ppm</a></b>

<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="#examples">EXAMPLES</a>
<li><a href="#history">HISTORY</a>
<li><a href="#seealso">SEE ALSO</a>
</ul>
</body>
</html>