\ .\" 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" 1 "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 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 \&), \fBpnmcat\fP recognizes the following command line options: .UN direction .SS Direction .TP \fB-topbottom\fP, \fB-tb\fP Combine images vertically, top to bottom. .TP \fB-leftright\fP, \fB-lr\fP Combine images horizontally, left to right. .sp You must specify the direction by specifying one of the above. .UN justification .SS Justification .TP \fB-jleft\fP, \fB-jcenter\fP, \fB-jright\fP If the PNM images are not all the same height when you're concatenating left to right or width when you're concatenating top to 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. .UN margincolor .SS Margin Color .TP \fB-white\fP, \fB-black\fP These options specify what color to use to fill in the extra space when doing the 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" (1)\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