Public
Authored by Coletti, Mark A

Creating a montage of images with their respective dimensions.

Presuming you have ImageMagick installed, you can use the montage command to create handy mosaics of images. This is particularly useful for creating a summary of generated images in one image.

For example, given the following files:

5a37e2b75ab4722a22144f01_scale1.png
5a37e2b75ab4722a22144f01_scale2.png
5a37e2b75ab4722a22144f01_scale3.png
5a37e2b75ab4722a22144f01_scale4.png
5a37e2b75ab4722a22144f01_scale5.png
5a37e2b75ab4722a22144f02_scale1.png
5a37e2b75ab4722a22144f02_scale2.png
5a37e2b75ab4722a22144f02_scale3.png
5a37e2b75ab4722a22144f02_scale4.png
5a37e2b75ab4722a22144f02_scale5.png
5a37e2b75ab4722a22144f03_scale1.png
5a37e2b75ab4722a22144f03_scale2.png
5a37e2b75ab4722a22144f03_scale3.png
5a37e2b75ab4722a22144f03_scale4.png
5a37e2b75ab4722a22144f03_scale5.png

The following summary image of those images is shown here:

summary

The code snippet below shows how I did this.

Edited
87 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment