Question: How to open and read a tiff image larger than 120MBytes using Image->FromFile in .NET C++? I have written a software that opens and processes a 1bpp tiff image and i face a problem. \n\nIf the total file size is less than 109MBytes, the image->FromFile method works fine. \n\nBut if the total size is larger than 124 MBytes, same format like the previous one, the method ends with lastResult=OutOfMemory.\n\nI have over 1GBytes of RAM.\n\nCan someone please help?\nThank you very much.\n\nRgrds,\nYong.

Answer: That seems like a really large image. No way you can reduce the resolution or size of that? If not you may be able to split the image up front to make two or four smaller images, read them in, then piece together for processing. I would think you could do that with code to just divide the file content into even chunks. Or can you setup a buffer to read in a set size like 10 megs, then keep reading in 10 megs at a time till the whole file is read in? Sorry, I haven't actually had to handle images this large before but I think you may have to reduce the file size or handle it in pieces as opposed to one big chunk.
This question from the Yahoo Q&A forum is categorized in the topic: Entertainment & Music