Penguin
Annotated edit history of montage(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 montage
2 !!!montage
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 OPTIONS
8 X RESOURCES
9 ENVIRONMENT
10 ACKNOWLEDGEMENTS
11 SEE ALSO
12 COPYRIGHT
13 AUTHORS
14 ----
15 !!NAME
16
17
18 montage - create a composite image by combining several separate images
19 !!SYNOPSIS
20
21
22 __montage [[__ ''options'' __...]__ ''file'' __[[
23 [[__ ''options'' __...]__ ''file'' __...]__
24 ''output_file''
25 !!DESCRIPTION
26
27
28 __montage__ creates a composite image by combining
29 several separate images. The images are tiled on the
30 composite image with the name of the image optionally
31 appearing just below the individual tile.
32
33
34 The composite image is constructed in the following manner.
35 First, each image specified on the command line, except for
36 the last, is scaled to fit the maximum tile size. The
37 maximum tile size by default is 120x120. It can be modified
38 with the __-geometry__ command line argument or X
39 resource. See __Options__ for more information on command
40 line arguments. See __X(1)__ for more information on X
41 resources. Note that the maximum tile size need not be a
42 square.
43
44
45 Next the composite image is initialized with the color
46 specified by the __-background__ command line argument or
47 X resource. The width and height of the composite image is
48 determined by the title specified, the maximum tile size,
49 the number of tiles per row, the tile border width and
50 height, the image border width, and the label height. The
51 number of tiles per row specifies how many images are to
52 appear in each row of the composite image. The default is to
53 have 5 tiles in each row and 4 tiles in each column of the
54 composite. A specific value is specified with __-tile__.
55 The tile border width and height, and the image border width
56 defaults to the value of the X resource __-borderwidth__.
57 It can be changed with the __-borderwidth__ or
58 __-geometry__ command line argument or X resource. The
59 label height is determined by the font you specify with the
60 __-font__ command line argument or X resource. If you do
61 not specify a font, a font is chosen that allows the name of
62 the image to fit the maximum width of a tiled area. The
63 label colors is determined by the __-background__ and
64 __-fill__ command line argument or X resource. Note, that
65 if the background and pen colors are the same, labels will
66 not appear.
67
68
69 Initially, the composite image title is placed at the top if
70 one is specified (refer to __-fill__). Next, each image
71 is set onto the composite image, surrounded by its border
72 color, with its name centered just below it. The individual
73 images are left-justified within the width of the tiled
74 area. The order of the images is the same as they appear on
75 the command line unless the images have a scene keyword. If
76 a scene number is specified in each image, then the images
77 are tiled onto the composite in the order of their scene
78 number. Finally, the last argument on the command line is
79 the name assigned to the composite image. By default, the
80 image is written in the __MIFF__ format and can be viewed
81 or printed with ''display(1)''.
82
83
84 Note, that if the number of tiles exceeds the default number
85 of 20 (5 per row, 4 per column), more than one composite
86 image is created. To ensure a single image is produced, use
87 __-tile__ to increase the number of tiles to meet or
88 exceed the number of input images.
89
90
91 Finally, to create one or more empty spaces in the sequence
92 of tiles, use the ____ image
93 format.
94
95
96 Note, a composite MIFF image displayed to an X server with
97 __display__ behaves differently than other images. You
98 can think of the composite as a visual image directory.
99 Choose a particular tile of the composite and press a button
100 to display it. See __display(1)__ and
101 __miff(5)__
102 !!EXAMPLES
103
104
105 To create a montage of a cockatoo, a parrot, and a
106 hummingbird and write it to a file called birds,
107 use:
108
109
110 montage cockatoo.miff parrot.miff hummingbird.miff
111 birds.miff
112
113
114 To tile several bird images so that they are at most 256
115 pixels in width and 192 pixels in height, surrounded by a
116 red border, and separated by 10 pixels of background color,
117 use:
118
119
120 montage -geometry 256x192+10+10 -bordercolor red birds.*
121 montage.miff
122
123
124 To create an unlabeled parrot image, 640 by 480 pixels, and
125 surrounded by a border of black, use:
126
127
128 montage -geometry 640x480 -bordercolor black -label
129
130
131 To create an image of an eagle with a textured background,
132 use:
133
134
135 montage -texture bumps.jpg eagle.jpg eagle.png
136
137
138 To join several GIF images together without any extraneous
139 graphics (e.g. no label, no shadowing, no surrounding tile
140 frame), use:
141
142
143 montage +frame +shadow +label -tile 5x1 -geometry 50x50+0+0
144 *.png joined.png
145 !!OPTIONS
146
147
148 Any option you specify on the command line remains in effect
149 for the group of images following it, until the group is
150 terminated by the appearance of any option or __-noop__.
151 For example, to make a montage of three images, the first
152 with 32 colors, the second with an unlimited number of
153 colors, and the third with only 16 colors, use:
154
155
156 montage -colors 32 cockatoo.1 -noop cockatoo.2 -colors 16
157 cockatoo.3 cockatoos.miff
158
159
160 For a more detailed description of each option, see
2 perry 161 ''!ImageMagick(1)''.
1 perry 162
163
164 __-adjoin__
165
166
167 join images into a single multi-image file
168
169
170 __-background__ ''''
171
172
173 the background color
174
175
176 __-blur__
177 ''''
178
179
180 blur the image with a gaussian operator
181
182
183 __-bordercolor__ ''''
184
185
186 the border color
187
188
189 __-borderwidth__ ''''
190
191
192 the border width
193
194
195 __-cache__ ''''
196
197
198 megabytes of memory available to the pixel
199 cache
200
201
202 __-chop__
203 ''''
204
205
206 remove pixels from the interior of an image
207
208
209 __-colors__ ''''
210
211
212 preferred number of colors in the image
213
214
215 __-colorspace__ ''''
216
217
218 the type of colorspace
219
220
221 __-comment__ ''''
222
223
224 annotate an image with a comment
225
226
227 __-compose__ ''''
228
229
230 the type of image composition
231
232
233 __-compress__ ''''
234
235
236 the type of image compression
237
238
239 __-crop__
240 ''''
241
242
243 preferred size and location of the cropped
244 image
245
246
247 __-debug__
248
249
250 enable debug printout
251
252
253 __-density__
254 ''''
255
256
257 vertical and horizontal resolution in pixels of the
258 image
259
260
261 __-depth__ ''''
262
263
264 depth of the image
265
266
267 __-display__
268 ''''
269
270
271 specifies the X server to contact
272
273
274 __-dispose__ ''''
275
276
277 GIF disposal method
278
279
280 __-dither__
281
282
283 apply Floyd/Steinberg error diffusion to the
284 image
285
286
287 __-draw__ ''''
288
289
290 annotate an image with one or more graphic
291 primitives
292
293
294 __-endian__ ''''
295
296
297 specify endianness (MSB or LSB) of output image
298
299
300 __-fill__ ''''
301
302
303 color to use when filling a graphic primitive
304
305
306 __-filter__ ''''
307
308
309 use this type of filter when resizing an image
310
311
312 __-font__ ''''
313
314
315 use this font when annotating the image with
316 text
317
318
319 __-frame__ ''
320 ''
321
322
323 surround the image with an ornamental border
324
325
326 __-gamma__ ''''
327
328
329 level of gamma correction
330
331
332 __-geometry__
333 ''
334 ''
335
336
337 preferred size and location of the Image
338 window.
339
340
341 __-gravity__ ''''
342
343
344 direction primitive gravitates to when annotating the
345 image.
346
347
348 __-help__
349
350
351 print usage instructions
352
353
354 __-interlace__ ''''
355
356
357 the type of interlacing scheme
358
359
360 __-label__ ''''
361
362
363 assign a label to an image
364
365
366 __-matte__
367
368
369 store matte channel if the image has one
370
371
372 __-mattecolor__ ''''
373
374
375 specify the matte color
376
377
378 __-mode__ ''''
379
380
381 mode of operation
382
383
384 __-monochrome__
385
386
387 transform the image to black and white
388
389
390 __-noop__
391
392
393 NOOP (no option)
394
395
396 __-page__
397 ''''
398
399
400 size and location of an image canvas
401
402
403 __-pen__ ''''
404
405
406 specify the pen color for drawing operations
407
408
409 __-pointsize__ ''''
410
411
2 perry 412 pointsize of the Postscript, OPTION1, or !TrueType
1 perry 413 font
414
415
416 __-quality__ ''''
417
418
419 JPEG/MIFF/PNG compression level
420
421
422 __-resize__
423 ''''
424
425
426 resize and locate an image
427
428
429 __-rotate__
430 ''''
431
432
433 apply Paeth image rotation to the image
434
435
436 __-sampling_factor__
437 ''''
438
439
440 sampling factors used by JPEG encoder.
441
442
443 __-scenes__ ''''
444
445
446 range of image scene numbers to read
447
448
449 __-shadow__
450 ''''
451
452
453 shadow the montage
454
455
456 __-sharpen__
457 ''''
458
459
460 sharpen the image
461
462
463 __-size__
464 ''''
465
466
467 width and height of the image
468
469
470 __-stroke__ ''''
471
472
473 color to use when stroking a graphic primitive
474
475
476 __-strokewidth__ ''''
477
478
479 set the stroke width
480
481
482 __-texture__ ''''
483
484
485 name of texture to tile onto the image
486 background
487
488
489 __-tile__ ''''
490
491
492 layout of images [[''montage'']
493
494
495 __-title__ ''''
496
497
498 assign title to displayed image [[''animate, display,
499 montage'']
500
501
502 __-transparent__ ''''
503
504
505 make this color transparent within the image
506
507
508 __-treedepth__ ''''
509
510
511 tree depth for the color reduction algorithm
512
513
514 __-trim__
515
516
517 trim an image
518
519
520 __-type__ ''''
521
522
523 the image type
524
525
526 __-verbose__
527
528
529 print detailed information about the image
530
531
532 For a more detailed description of each option, see
2 perry 533 ''!ImageMagick(1)''.
1 perry 534 !!X RESOURCES
535
536
537 __Montage__ options can appear on the command line or in
538 your X resource file. Options on the command line supersede
539 values specified in your X resource file. See __X(1)__
540 for more information on X resources.
541
542
543 All __montage__ options have a corresponding X resource.
544 In addition, __montage__ uses the following X
545 resources:
546
547
548 __background__ ''(class Background)''
549
550
551 background color
552
553
554 Specifies the preferred color to use for the composite image
555 background. The default is #ccc.
556
557
2 perry 558 __borderColor__ ''(class !BorderColor)''
1 perry 559
560
561 border color
562
563
564 Specifies the preferred color to use for the composite image
565 border. The default is #ccc.
566
567
2 perry 568 __borderWidth__ ''(class !BorderWidth)''
1 perry 569
570
571 border width
572
573
574 Specifies the width in pixels of the composite image border.
575 The default is 2.
576
577
578 __font__ ''(class Font)''
579
580
581 font to use
582
583
584 Specifies the name of the preferred font to use when
585 displaying text within the composite image. The default is
586 9x15, fixed, or 5x8 determined by the composite image
587 size.
588
589
2 perry 590 __matteColor__ ''(class !MatteColor)''
1 perry 591
592
593 color of the frame
594
595
596 Specify the color of an image frame. A 3D effect is achieved
597 by using highlight and shadow colors derived from this
598 color. The default value is #697B8F.
599
600
601 __pen__ ''(class Pen)''
602
603
604 text color
605
606
607 Specifies the preferred color to use for text within the
608 composite image. The default is black.
609
610
611 __title__ ''(class Title)''
612
613
614 composite image title
615
616
617 This resource specifies the title to be placed at the top of
618 the composite image. The default is not to place a title at
619 the top of the composite image.
620 !!ENVIRONMENT
621
622
623 __DISPLAY__
624
625
626 To get the default host, display number, and
627 screen.
628 !!ACKNOWLEDGEMENTS
629
630
631 The __MIT X Consortium__ for making network transparent
632 graphics a reality.
633
634
635 ''Michael Halle'', __Spatial Imaging Group at MIT__,
636 for the initial implementation of Alan Paeth's image
637 rotation algorithm.
638
639
2 perry 640 ''David Pensak'', __!ImageMagick Studio__, for
1 perry 641 providing a computing environment that made this program
642 possible.
643 !!SEE ALSO
644
645
646 display(1), animate(1), import(1), mogrify(1), convert(1),
2 perry 647 composite(1), !ImageMagick(1)
1 perry 648 !!COPYRIGHT
649
650
2 perry 651 __Copyright (C) 2002 !ImageMagick Studio__
1 perry 652
653
654 __Permission is hereby granted, free of charge, to any
655 person obtaining a copy of this software and associated
656 documentation files (
657 __
658
659
660 __The above copyright notice and this permission notice
661 shall be included in all copies or substantial portions of
2 perry 662 !ImageMagick.__
1 perry 663
664
665 __The software is provided
666 __
667
668
669 __Except as contained in this notice, the name of the
2 perry 670 !ImageMagick Studio LLC shall not be used in advertising or
1 perry 671 otherwise to promote the sale, use or other dealings in
2 perry 672 !ImageMagick without prior written authorization from the
673 !ImageMagick Studio.__
1 perry 674 !!AUTHORS
675
676
2 perry 677 ''John Cristy, !ImageMagick Studio LLC, Glenn
678 Randers-Pehrson, !ImageMagick Studio LLC.''
1 perry 679 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.