We have a server (Java EE) application, it will do some image processing jobs based on user request. Such as convert image format (e.g. TIFF to JPEG), convert image color (e.g. RGB to Gray to BW), resample (resize) image. Some customer from printing industry use very large image, such as 2000 dpi, 6 * 8 inch, 4 color components, which will take 6 * 2000 * 8 * 2000 * 4 = 768MB memory. The server can not hold that large image in memory, so we decide to do the process stripe by stripe. The problem is that still not work because there may have many customers at same time. Do you have any idea about how to implement a memory limited image processing? Or, do you know if there are some paper/article can provide us solutions.
Thanks,