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!
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.
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 :-)
-
-
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 8 '16 at 19:28
-
1If 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 thex
specifies the width and a number after thex
specifies the height. – Mark Setchell Jun 8 '16 at 19:29 -
When I run this, I get spaces between images? How does your have no spaces between images? – sidj Jun 9 '16 at 2: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 9 '16 at 8:26
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
-
Ghostscript is not normally required unless you are working with
PDF
files. – Mark Setchell Jun 9 '16 at 8: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.
-
Yes, I wanted to see if there any tools which can help with this instead of the doing it manually. – sidj Jun 8 '16 at 18:24