How to generate a collage image like show below. I would appreciate if you can let me know if there are any online tools or apps which do this. Thanks!
4 Answers
Use ImageMagick montage
like this to get your montage 10 images wide and with all images abutted together with no space between:
montage -geometry +0+0 -tile 10x *.jpg result.jpg
My images repeat because I didn't bother finding 1,000 unique faces :-)

- 1
- 1

- 191,897
- 31
- 273
- 432
-
:) the `-tile 10x` will create a 10 by 10 matrix right? – sidj Jun 08 '16 at 19:23
-
No, it only sets the number of images across the width. The height will be determined by the number of images you supply. – Mark Setchell Jun 08 '16 at 19:28
-
2If you want to specify the height as, say 5 images, then use `-tile x5` and the width will then depend on the number of images you provide. So, basically, a number **before** the `x` specifies the width and a number **after** the `x` specifies the height. – Mark Setchell Jun 08 '16 at 19:29
-
When I run this, I get spaces between images? How does your have no spaces between images? – sidj Jun 09 '16 at 02:15
-
I made my images all the same size before merging them. You can achieve a similar result by using an exclamation mark after the `-geometry` which will force images to the same size even if it distorts them... `montage -geometry 40x10+0+0! ...` – Mark Setchell Jun 09 '16 at 08:26
Image Magick is a free command line tool to process images and they have a feature called montage. Go take a look.
ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

- 548
- 2
- 4
- 19
Thanks for the above answer of using ImageMagick. I used the below command. Also make sure that ghostscript is installed (available via brew on OS X)
montage *.jpg -geometry 40x10+0+0 -tile 18x10 tiled_image.jpg

- 525
- 1
- 5
- 12
-
Ghostscript is not normally required unless you are working with `PDF` files. – Mark Setchell Jun 09 '16 at 08:24
The more difficult way to make such image would be by basic photo editing- creating a big white background and copy- pasting the images you like over there but that would take too much time so just google something similar to "collage maker" and you would find lots of tools suitable for any beginner computer user. I would suggest downloading one instead of doing it in a browser if privacy matters in your case.

- 115
- 1
- 4
- 8
-
Yes, I wanted to see if there any tools which can help with this instead of the doing it manually. – sidj Jun 08 '16 at 18:24