extremely large images
Hello, I discovered JAI not too long ago, and it looks like a powerful API and I am excited to do some work with it. I have a question though, regarding working with large images. I do not know enough about the capability of JAI/IO, so I want to see if what I want to do is even possible.
The image I am working with is 50000 pixels square, and is in 24 bit color space. Uncompressed, it is about 7G on my hard disk. Right now, the image is made of a 10x10 grid of 5000 pixel square images each. What I want to do is to merge these together, and then scale them down using bicubic downsampling, and save the result. The tiles can not be scaled down individually, because this will create seams.
Will JAI/IO allow me to work with this without running out of memory? I think it is necessary for Java to use disk paging in order for this to work because it cannot fit the whole uncompressed image into the VM memory.
Help or input would be greatly appreciated. Cheers!