Reference

Table of Contents  ▸  List of Commands  ▸  Geometry Manipulation  ▸  montage◀  extract_region    |    mirror  ▶

montage

Arguments:

Description:

Create a single image montage from selected images, according to specified layout code :
X to assemble all images using an automatically estimated layout.
H to assemble all images horizontally.
V to assemble all images vertically.
A to assemble all images as an horizontal array.
B to assemble all images as a vertical array.
Ha:b to assemble two blocks a and b horizontally.
Va:b to assemble two blocks a and b vertically.
Ra to rotate a block a by 90 deg. (RRa for 180 deg. and RRRa for 270 deg.).
Ma to mirror a block a along the X-axis (MRRa for the Y-axis).
A block a can be an image index (treated periodically) or a nested layout expression Hb:c,'Vb:c','Rb' or
Mb itself.
For example, layout code H0:V1:2 creates an image where image [0] is on the left, and images [1] and [2]
vertically packed on the right.

Default values:

layout_code=X, montage_mode=2, output_mode='0' and processing_command="".

Example of use:

$ gmic image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3
Command: image.jpg sample ? +plasma[0] shape_cupid 256 normalize 0,255 frame 3,3,0 frame 10,10,255 to_rgb +montage A +montage[^-1] H1:V0:VH2:1H0:3