To load a .tiff file in C #

I need to upload a .tiff file

I did with Image.FromFile()andBitmap.FromFile()

But they throw OutOfMemoryException

Any decision on how to download this?

+5
source share
4 answers

I assume that the TIFF file you are trying to download uses compression that is not compatible with .Net. Namely, JPEG compression is not supported by .Net.

I suggest you try LibTiff.Net (although I canโ€™t say for sure if this will work):

+5
source

I am using ImageGlue . It can convert much more than just tiff.

+1
source

There is a possibility that this problem arose due to the multiple tiff image file. In this case, you need to extract individual image files from the source tiff file, and then view them frame by frame. Here is a sample code.

http://www.c-sharpcorner.com/Blogs/10924/how-to-save-split-merge-and-view-multipage-tiff-image.aspx

0
source

All Articles