summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-rawhide/man1/pnmindex.1
blob: a676133acbe8cff8da74ed2620bbb0666e236d35 (plain)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pnmindex User Manual" 0 "14 November 2015" "netpbm documentation"

.SH NAME
pnmindex - build a visual index of a bunch of PNM images

.UN synopsis
.SH SYNOPSIS

\fBpnmindex\fP

[\fB-size=\fP\fIN\fP]

[\fB-across=\fP\fIN\fP]

[\fB-colors=\fP\fIN\fP]

[\fB-black\fP]

[\fB-title=\fP\fItitle\fP]

[\fB-quant\fP|\fB-noquant\fP]

\fIpnmfile\fP ...
.PP
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.


.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.

\fBpnmindex\fP creates an index image containing thumbnail (small)
versions of a bunch of PNM files you supply.  (Akin to a photographic
"contact sheet").
.PP
\fBpnmindex\fP labels each thumbnail and, optionally, contains a
title.
.PP
If you just want to concatenate some images together in a grid, use
\fBpamundice\fP for that.
.PP
If you want to take apart the image you generated with \fBpnmindex\fP,
use \fBpamdice\fP or \fBpamcut\fP.
.PP
The program can generate large temporary files.  By default, these go in
directory \fB/tmp\fP, but you can usse the \fBTMPDIR\fP environment variable
to have them somewhere else.


.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see 
.UR index.html#commonoptions
 Common Options
.UE
\&), \fBpnmindex\fP recognizes the following
command line options:


.TP
\fB-size=\fP\fIN\fP
The size of each thumbnail.  The image is scaled to fit maximally
inside a \fIN\fP x \fIN\fP pixel box without changing its aspect
ratio.  Default is 100.

.TP
\fB-across=\fP\fIN\fP
The number of thumbnails in each row.  Default is 6.

.TP
\fB-colors=\fP\fIN\fP
The maximum number of colors allowed in the overall image.  If it
would otherwise have more colors than these, \fBpnmindex\fP quantizes
the result.  The default is 256.
.sp
However, this value is meaningless if you specify the
\fB-noquant\fP option.

.TP
\fB-black\fP
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 \fB-black\fP option reverses this.

.TP
\fB-title=\fP\fItitle\fP
Specifies a title top place at the top of the image.
Default is no title.

.TP
\fB-quant\fP
Enables quantization (to the number of colors specified by
\fB-colors\fP).  Quantization is on by default but you can disable
it with \fB-noquant.\fP

.TP
\fB-noquant\fP
See \fB-quant\fP.




.UN seealso
.SH SEE ALSO
.BR "pamscale" (1)\c
\&,
.BR "pamcat" (1)\c
\&,
.BR "pbmtext" (1)\c
\&,
.BR "pnmquant" (1)\c
\&,
.BR "pamcut" (1)\c
\&,
.BR "pamdice" (1)\c
\&,
.BR "pamundice" (1)\c
\&,
.BR "pnmtile" (1)\c
\&,
.BR "pnm" (1)\c
\&


.UN author
.SH AUTHOR
.PP
Copyright (C) 1991 by Jef Poskanzer.
.PP
\fB-title\fP and \fB-noquant\fP added 2000 by John Heidemann.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pnmindex.html
.PP