2016-01-02 15:25:48 +00:00
|
|
|
# montage
|
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
> Tiles images into a customizable grid.
|
|
|
|
> Part of ImageMagick.
|
2019-06-04 10:25:16 +01:00
|
|
|
> More information: <https://imagemagick.org/script/montage.php>.
|
2016-01-02 15:25:48 +00:00
|
|
|
|
|
|
|
- Tile images into a grid, automatically resizing images larger than the grid cell size:
|
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`montage {{path/to/image1.jpg path/to/image2.jpg ...}} {{path/to/montage.jpg}}`
|
2016-01-02 15:25:48 +00:00
|
|
|
|
|
|
|
- Tile images into a grid, automatically calculating the grid cell size from the largest image:
|
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} {{path/to/montage.jpg}}`
|
2016-01-02 15:25:48 +00:00
|
|
|
|
2024-02-09 13:55:36 +00:00
|
|
|
- Specify the grid cell size and resize images to fit it before tiling:
|
2016-01-02 15:25:48 +00:00
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{640x480+0+0}} {{path/to/montage.jpg}}`
|
2016-01-02 15:25:48 +00:00
|
|
|
|
|
|
|
- Limit the number of rows and columns in the grid, causing input images to overflow into multiple output montages:
|
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -tile {{2x3}} {{montage_%d.jpg}}`
|
2016-01-02 15:25:48 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Resize and crop images to fill their grid cells before tiling:
|
2016-01-02 15:25:48 +00:00
|
|
|
|
2023-10-05 07:52:40 +01:00
|
|
|
`montage {{path/to/image1.jpg path/to/image2.jpg ...}} -geometry {{+0+0}} -resize {{640x480^}} -gravity {{center}} -crop {{640x480+0+0}} {{path/to/montage.jpg}}`
|