Hi everybody,
I'm trying to display an image in tiff format (47,7kb). It's an image tiff CMYK + alpha chanel.
I'm using a GDI+ Build and the metod Image.FromFile() keeps on throwing "out of memory exception".
Do you have any solution?
My operating system is Windows 7 Service pack 1 and I'm using Visual Studio 2010.
Attached to this post there is the image tiff that I use.
Edit:
In MSDN Microsoft I read that "
If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception." and "
The Image class does not support alpha transparency in bitmaps. To enable alpha transparency, use PNG images with 32 bits per pixel."
https://msdn.microsoft.com/en-us/library/stf701f5(v=vs.110).aspxBut I must necessarily to display an image in
tiff format with
alpha transparency.
Thanks!