LinuxCommandLibrary

montage

creates composite images by joining multiple images together

TLDR

Create image grid

$ montage [*.jpg] [output.jpg]
copy
Specify tile layout
$ montage [*.jpg] -tile [3x2] [output.jpg]
copy
Set thumbnail size
$ montage [*.jpg] -geometry [200x200+5+5] [output.jpg]
copy
Add labels
$ montage [*.jpg] -label "%f" [output.jpg]
copy
Set background color
$ montage [*.jpg] -background [white] [output.jpg]
copy
Add border
$ montage [*.jpg] -border [5] -bordercolor [gray] [output.jpg]
copy

SYNOPSIS

montage [options] input-files output-file

DESCRIPTION

montage creates composite images by joining multiple images together. Part of ImageMagick, it arranges images in a grid, optionally with labels, borders, and shadows.
The tool is useful for creating contact sheets, thumbnails galleries, and image collages.

PARAMETERS

-tile colsxrows

Grid layout.
-geometry WxH+x+y
Thumbnail size and spacing.
-label string
Label for each image.
-title string
Title for montage.
-background color
Background color.
-border geometry
Border size.
-bordercolor color
Border color.
-shadow
Add shadow.
-frame geometry
Add frame.
-mode type
Frame style.

CAVEATS

Many images can use lots of memory. Label formatting has special syntax. Output format from extension. Quality settings affect size.

HISTORY

montage is part of ImageMagick, created by John Cristy in 1987. It provides contact sheet functionality that was common in photography workflows.

SEE ALSO

convert(1), magick(1), identify(1), display(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community