ImageMagick Montage Command-line Tool
- +Use the montage program to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. See Command Line Processing for advice on how to structure your montage command or see below for example usages of the command.
+Use the montage
program to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. See Command Line Processing for advice on how to structure your montage
command or see below for example usages of the command.
Example Usage
We list a few examples of the montage command here to illustrate its usefulness and ease of use. To get started, let's montage two images into a single composite:
+We list a few examples of the montage
command here to illustrate its usefulness and ease of use. To get started, let's montage two images into a single composite:
$magick> montage -background #336699 -geometry +4+4 rose.jpg red-ball.png montage.jpg
+$ montage -background #336699 -geometry +4+4 rose.jpg red-ball.png montage.jpg
Ok, let's add some decorations:
-$magick> montage -label %f -frame 5 -background #336699 -geometry +4+4 rose.jpg red-ball.png frame.jpg
+$ montage -label %f -frame 5 -background #336699 -geometry +4+4 rose.jpg red-ball.png frame.jpg
-You can find additional examples of using montage at Examples of ImageMagick Usage and Graphics from the Command Line. Further discussion is available in More Graphics from the Command Line and Examples of ImageMagick Usage.
+You can find additional examples of using montage
at Examples of ImageMagick Usage and Graphics from the Command Line. Further discussion is available in More Graphics from the Command Line and Examples of ImageMagick Usage.
Option Summary
The montage command recognizes these options. Click on an option to get more details about how that option works.
+The montage
command recognizes these options. Click on an option to get more details about how that option works.
-adaptive-sharpen geometry | +-adaptive-sharpen geometry | adaptively sharpen pixels; increase effect near edges |
-adjoin | +-adjoin | join images into a single multi-image file |
-affine matrix | +-affine matrix | affine transform matrix |
-alpha | +-alpha | on, activate, off, deactivate, set, opaque, copy", transparent, extract, background, or shape the alpha channel |
-annotate geometry text | +-annotate geometry text | annotate the image with text |
-authenticate value | +-authenticate value | decrypt image with this password |
-auto-orient | +-auto-orient | automagically orient image |
-background color | +-background color | background color |
-blue-primary point | +-blue-primary point | chromaticity blue primary point |
-blur geometry | +-blur geometry | reduce image noise and reduce detail levels |
-border geometry | +-border geometry | surround image with a border of color |
-bordercolor color | +-bordercolor color | border color |
-caption string | +-caption string | assign a caption to an image |
-channel type | +-channel type | apply option to select image channels |
-clone index | +-clone index | clone an image |
-coalesce | +-coalesce | merge a sequence of images |
-colors value | +-colors value | preferred number of colors in the image |
-colorspace type | +-colorspace type | set image colorspace |
-comment string | +-comment string | annotate image with comment |
-compose operator | +-compose operator | set image composite operator |
-composite | +-composite | composite image |
-compress type | +-compress type | image compression type |
-crop geometry | +-crop geometry | preferred size and location of the cropped image |
-debug events | +-debug events | display copious debugging information |
-define format:option | +-define format:option | define one or more image format options |
-density geometry | +-density geometry | horizontal and vertical density of the image |
-depth value | +-depth value | image depth |
-display server | +-display server | get image or font from this X server |
-dispose method | +-dispose method | layer disposal method |
-dither method | +-dither method | apply error diffusion to image |
-draw string | +-draw string | annotate the image with a graphic primitive |
-duplicate count,indexes | +-duplicate count,indexes | duplicate an image one or more times |
-endian type | +-endian type | endianness (MSB or LSB) of the image |
-extent geometry | +-extent geometry | set the image size |
-extract geometry | +-extract geometry | extract area from image |
-fill color | +-fill color | color to use when filling a graphic primitive |
-filter type | +-filter type | use this filter when resizing an image |
-flatten | +-flatten | flatten a sequence of images |
-flip | +-flip | flip image in the vertical direction |
-flop | +-flop | flop image in the horizontal direction |
-font name | +-font name | render text with this font |
-frame geometry | +-frame geometry | surround image with an ornamental border |
-gamma value | +-gamma value | level of gamma correction |
-geometry geometry | +-geometry geometry | preferred size or location of the image |
-gravity type | +-gravity type | horizontal and vertical text placement |
-green-primary point | +-green-primary point | chromaticity green primary point |
-help | +-help | print program options |
-identify | +-identify | identify the format and characteristics of the image |
-interlace type | +-interlace type | type of image interlacing scheme |
-interpolate method | +-interpolate method | pixel color interpolation method |
-kerning value | +-kerning value | the space between two characters |
-label string | +-label string | assign a label to an image |
-limit type value | +-limit type value | pixel cache resource limit |
-log format | +-log format | format of debugging information |
-mattecolor color | +-mattecolor color | frame color |
-mode type | +-mode type | framing style |
-monitor | +-monitor | monitor progress |
-monochrome | +-monochrome | transform image to black and white |
-origin geometry | +-origin geometry | image origin |
-page geometry | +-page geometry | size and location of an image canvas (setting) |
-pointsize value | +-pointsize value | font point size |
-polaroid angle | +-polaroid angle | simulate a Polaroid picture |
-profile filename | +-profile filename | add, delete, or apply an image profile |
-quality value | +-quality value | JPEG/MIFF/PNG compression level |
-quantize colorspace | +-quantize colorspace | reduce image colors in this colorspace |
-quiet | +-quiet | suppress all warning messages |
-red-primary point | +-red-primary point | chromaticity red primary point |
-regard-warnings | +-regard-warnings | pay attention to warning messages. |
-repage geometry | +-repage geometry | size and location of an image canvas |
-resize geometry | +-resize geometry | resize the image |
-respect-parentheses | +-respect-parentheses | settings remain in effect until parenthesis boundary. |
-rotate degrees | +-rotate degrees | apply Paeth rotation to the image |
-sampling-factor geometry | +-sampling-factor geometry | horizontal and vertical sampling factor |
-scenesrange | +-scenesrange | image scene range |
-seed value | +-seed value | seed a new sequence of pseudo-random numbers |
-shadow geometry | +-shadow geometry | simulate an image shadow |
-size geometry | +-size geometry | width and height of image |
-strip | +-strip | strip image of all profiles and comments |
-stroke color | +-stroke color | graphic primitive stroke color |
-synchronize | +-synchronize | synchronize image to storage device |
-taint | +-taint | mark the image as modified |
-texture filename | +-texture filename | name of texture to tile onto the image background |
-tile filename | +-tile filename | tile image when filling a graphic primitive |
-tile-offset geometry | +-tile-offset geometry | set the image tile offset |
-title | +-title | decorate the montage image with a title |
-transform | +-transform | affine transform image |
-transparent color | +-transparent color | make this color transparent within the image |
-transpose | +-transpose | flip image in the vertical direction and rotate 90 degrees |
-transparent-color color | +-transparent-color color | transparent color |
-treedepth value | +-treedepth value | color tree depth |
-trim | +-trim | trim image edges |
-type type | +-type type | image type |
-units type | +-units type | the units of image resolution |
-unsharp geometry | +-unsharp geometry | sharpen the image |
-verbose | +-verbose | print detailed information about the image |
-version | +-version | print version information |
-view | +-view | FlashPix viewing transforms |
-virtual-pixel method | +-virtual-pixel method | access method for pixels outside the boundaries of the image |
-white-point point | +-white-point point | chromaticity white point |