Issue
I have let say 128 images . Now I want to merge it as one like 16*8 grid as one image. any software can handle this much image? I used picture merge genius but it can handle 64 images in my m/c.
Solution
Sure, ImageMagick is free and installed on most Linux distros and is available for OSX and Windows.
Let’s say your images are named frame000.png
to frame254.png
, and they get successively lighter in colour as their frame number increases. You can use the montage
command in ImageMagick like this:
montage -tile 16x -geometry +0+0 frame*png montage.png
The 16x
means that it will be montaged in rows of 16 images. If you want it 16 rows tall, you can use x16
instead of 16x
– i.e. the number before the x
is the width and the number after x
is the height.
The -geometry +0+0
means to place the images abutting each other without gaps, if you want the images 5 pixels apart horizontally and 10 pixels apart vertically, use this:
montage -tile 16x -geometry +5+10 frame*png montage.png
If you want the images on a red background, use this:
montage -background red -tile 16x -geometry +5+10 frame*png montage.png
Answered By – Mark Setchell
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0