Pnmmontage User Manual(1) | General Commands Manual | Pnmmontage User Manual(1) |
pnmmontage - create a montage of PNM images
pnmmontage
[-header=headerfile]
[-quality=n]
[-prefix=prefix]
[-0|-1|-2|...|-9]
[-data=filename]
pnmfile...
This program is part of Netpbm(1).
pnmmontage packs images of differing sizes into a minimum-area composite image.
Areas of the output that cannot be occupied by an image are black.
In addition to the options common to all programs based on
libnetpbm (most notably -quiet, see
Common Options ), pnmmontage recognizes the following command line
options:
:0:0:227:298
../image1.ppm:0:0:227:149
../image2.ppm:0:149:227:149
There is a line for each component image and one for the composite.
The 5 fields on each line are:
This option was new in Netpbm 10.6 (July 2002).
Here is an example:
#define OVERALLX 227
#define OVERALLY 298
#define X 0
#define Y 0
#define SZX 227
#define SZY 149
#define X 0
#define Y 149
#define SZX 227
#define SZY 149
Using -9 is very slow on all but the smallest image sets.
The minimum area arrangement is often not a convenient shape. For example, it might be a tall, thin column of images, when you'd rather have something more square. To force a minimum width or height, you can include a strut image - a black image that wide and one pixel high. Similarly, you can use a vertical strut to force a minimum height.
pnmcat(1), pnmindex(1), pnm(1), pam(1), pbm(1), pgm(1), ppm(1)
pnmmontage was new in Netpbm 9.10 (January 2001).
Copyright (C) 2000 by Ben Olmstead.
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
22 November 2012 | netpbm documentation |