Join 4096 Images 64Hx64W

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Presjar
Posts: 1
Joined: 2015-03-26T05:48:24-07:00
Authentication code: 6789

Join 4096 Images 64Hx64W

Post by Presjar »

Hi,

I have attempted to read up on how to go about this but unfortunately I'm not from a shell background and the image keeps coming out poor quality and the row / column around the wrong way.

Some details:
4096 Images @ 256x256 Pixels Each
Naming Convention
aaa.bbb.PNG (000.000.PNG through to 064.064.PNG all in the one directory) where aaa is the Column from 0-63 an bbb is the Row from 0-63
(eg 011.050.PNG is the 50th image in Column 11) I hope to join these images together into a 64x64 grid. Nothing fancy, butt to butt. I just want to end up with a 16384x16384 image that I can zoom into and have the original quality of the 256x256 tiles.

This is the code I have tried that gives an image but it is just blury

Code: Select all

montage C:\Images\*.png -background none -tile 64x -geometry +0+0 C:\ImageTest.png
(this obviously creates the image row by row where I require the column by column method @ http://www.imagemagick.org/Usage/montage/#columns)
However, I end up with an image that is 152MB, 16384x16384 but has no fidelity. When I zoom in it is just blur.

Would anyone be able to give me an assist in this?

Thanks in advance,
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Join 4096 Images 64Hx64W

Post by snibgo »

Presjar wrote:When I zoom in it is just blur.
I don't see how it can be. You are not resizing. Each input image should look the same as that portion of the output. Are the inputs sRGB?

Please provide one of the inputs, and a crop of the same portion of the output. You can upload to somewhere like dropbox.com and paste the URLs here.

Maybe there is a problem with memory. The output has 268m pixels, which needs 2 GB RAM.

It seems you need to rename your files to swap rows and columns. Instead of renaming, you might copy them, or create symbolic links.
snibgo's IM pages: im.snibgo.com
Post Reply