0
Reply

Image.FromFile() throws out of memory exception

Abraham Eyasu

Abraham Eyasu

Jun 21 2010 10:42 AM
6.7k
I am trying to display a  .tif image of 136MB size. But Image.FromFile(...)  keeps on throwing  out of memory exception    I manually increased the size of the virtual memory to around 4GB but to no avail. 

I have checked image file to make sure that it is not corrupted and I can see the image through other editors that come with my operating system. 
My operating system is Windows-XP Service pack 3 and I am using Visual Studio 2008. 

Please help!!
Thanks in advance.