ILYA

ILYA

  • NA
  • 5
  • 0

How can create an image from a single page of a multi-page TIFF without ingesting the whole file?

Jun 9 2011 4:00 PM
I have a huge multi-page TIFF file and all I need is to access and display a single page. If I do something like this:

Image myImg = System.Drawing.Image.FromFile("c:\myimage.tif");
int iPage = 5;
myImg.SelectActiveFrame(System.Drawing.Imaging.FrameDimension.Page,iPage);

I am still going to load the whole image into memory first. i want to avoid this. Is there a way of ingesting just one page into memory using either standard .NET libraries or some freeware open-source third-party libraries?

Thanks much!

Answers (3)