summary refs log tree commit diff
path: root/pnmindex.html
blob: b0b1d53ab3e37b55d420c6b3b1617a1e2463d33d (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmindex User Manual</TITLE></HEAD>
<BODY>
<H1>pnmindex</H1>
Updated: 1 April 2007
<BR>
<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>

pnmindex - build a visual index of a bunch of PNM images

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

<B>pnmindex</B>

[<B>-size=</B><I>N</I>]

[<B>-across=</B><I>N</I>]

[<B>-colors=</B><I>N</I>]

[<B>-black</B>]

[<B>-title=</B><I>title</I>]

[<B>-quant</B>|<B>-noquant</B>]

<I>pnmfile</I> ...

<P>You can use the minimum unique abbreviation of the options.  You can use
two hyphens instead of one.  You can separate an option name from its value
with white space instead of an equals sign.


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

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

<B>pnmindex</B> creates an index image containing thumbnail (small)
versions of a bunch of PNM files you supply.  (Akin to a photographic
&quot;contact sheet.&quot;

<P><B>pnmindex</B> labels each thumbnail and, optionally, contains a
title.

<P>If you just want to concatenate some images together in a grid, use
<b>pamundice</b> for that.

<p>If you want to take apart the image you generated with <b>pnmindex</b>,
use <b>pamdice</b> or <b>pamcut</b>.

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

<DL COMPACT>
<DT><B>-size=</B><I>N</I>

<DD>The size of each thumbnail.  The image is scaled to fit maximally
inside a <I>N</I> x <I>N</I> pixel box without changing its aspect
ratio.  Default is 100.

<DT><B>-across=</B><I>N</I>

<DD>The number of thumbnails in each row.  Default is 6.

<DT><B>-colors=</B><I>N</I>

<DD>The maximum number of colors allowed in the overall image.  If it
would otherwise have more colors than these, <B>pnmindex</B> quantizes
the result.  The default is 256.

<P>However, this value is meaningless if you specify the
<B>-noquant</B> option.

<DT><B>-black</B>

<DD>This controls the color of the padding between the images;
normally it's white and the labels are black lettering on white
background, but the <B>-black</B> option reverses this.

<DT><B>-title=</B><I>title</I>

<DD>
Specifies a title top place at the top of the image.
Default is no title.

<DT><B>-quant</B>

<DD>Enables quantization (to the number of colors specified by
<B>-colors</B>).  Quantization is on by default but you can disable
it with <B>-noquant.</B>

<DT><B>-noquant</B>

<DD>See <B>-quant</B>.

</DL>

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

<B><A HREF="pamscale.html">pamscale</A></B>,

<B><A HREF="pnmcat.html">pnmcat</A></B>,

<B><A HREF="pbmtext.html">pbmtext</A></B>,

<B><A HREF="pnmquant.html">pnmquant</A></B>,

<B><A HREF="pamcut.html">pamcut</A></B>,

<B><A HREF="pamdice.html">pamdice</A></B>,

<B><A HREF="pamundice.html">pamundice</A></B>,

<B><A HREF="pnmtile.html">pnmtile</A></B>,

<B><A HREF="pnm.html">pnm</A></B>

<H2 id="author">AUTHOR</H2>

<p>Copyright (C) 1991 by Jef Poskanzer.

<p><B>-title</B> and <B>-noquant</B> added 2000 by John Heidemann.

<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="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>