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
|
\
.\" 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 "Pnmcat User Manual" 0 "30 May 2011" "netpbm documentation"
.SH NAME
pnmcat - concatenate Netpbm images
.UN synopsis
.SH SYNOPSIS
\fBpnmcat\fP
{\fB-leftright\fP | \fB-lr\fP | \fB-topbottom\fP | \fB-tb\fP}
[\fB-white\fP|\fB-black\fP]
[\fB-jtop\fP|\fB-jbottom\fP|\fB-jcenter\fP]
[\fB-jleft\fP|\fB-jright\fP|\fB-jcenter\fP]
\fIpnmfile\fP ...
.PP
Minimum unique abbreviation of option is acceptable. You may use
double hyphens instead of single hyphen to denote options. You may
use white space in place of the equals sign to separate an option name
from its value.
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpnmcat\fP reads one or more PNM images as input, concatenates them
either left to right or top to bottom, and produces a single PNM image
as output.
.PP
The arguments are names of input files. Any one of these, but not more
than one, may be "-" to indicate Standard Input. If you have no
arguments, that means a single input image from Standard Input (and that is
pointless - the output is the same as the input).
.PP
To assemble a regular grid of images, you can use \fBpamundice\fP.
.PP
To do the reverse, you might use \fBpamdice\fP to split an image
up into smaller ones of equal size or \fBpamcut\fP to chop off part
of an image or extract part of an image.
.PP
\fBpnmtile\fP concatenates a single input image to itself repeatedly.
.UN options
.SH OPTIONS
.PP
If the PNM images are not all the same height (left-right) or width
(top-bottom), the smaller ones have to be justified with the largest.
By default, \fBpnmcat\fP centers them, but you can specify
justification to one side or the other with one of the
\fB-j\fP\fIxxx\fP options. So, \fB-topbottom -jleft\fP would stack the
PNMs on top of each other, flush with the left edge. \fB-leftright
-jbottom\fP would line up the images left to right with their bottom edges
aligned as if sitting on a table.
.PP
The \fB-white\fP and \fB-black\fP options specify what color to
use to fill in the extra space when doing this justification. If
neither is specified, \fBpnmcat\fP chooses whichever seems to be
right for the images.
.UN seealso
.SH SEE ALSO
.BR "pamundice" (1)\c
\&,
.BR "pamdice" (1)\c
\&,
.BR "pnmtile" (1)\c
\&,
.BR "pamcut" (1)\c
\&,
.BR "pnm" (5)\c
\&
.UN author
.SH AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
.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/pnmcat.html
.PP
|