Dear All,
How to show multi-page tiff image.
Please give guidance for me..
Regards,
Sivakumar.kr
Printable View
Dear All,
How to show multi-page tiff image.
Please give guidance for me..
Regards,
Sivakumar.kr
One possibility is to split the TIFF image into multiple images, then you can display them as normal...(this code is untested)Code:// read in the image
Image image = Image.FromFile(...);
IList images = new ArrayList();
int count = image.GetFrameCount(FrameDimension.Page);
for(int idx=0; idx < count; idx++)
{
// save each frame to a bytestream
image.SelectActiveFrame(FrameDimension.Page, idx);
MemoryStream byteStream = new MemoryStream();
image.Save(byteStream, ImageFormat.Bmp);
// and then create a new Image from it
images.Add(Image.FromStream(byteStream));
}