tags:

views:

36

answers:

0

HI All, I have below code to extract a single page from a multi-paged TIFF file. The problem is, the input file is in CCITT Group 4 compression however the output compression is LZW. Can .NET outputs TIFF files other than this compression?

FileStream fileStream = File.Open(outputFileName, 
    FileMode.Create, FileAccess.ReadWrite);
sourceImage.SelectActiveFrame(firstFrameDimension, pageNumbers[i]);
sourceImage.Save(fileStream, ImageFormat.Tiff);
fileStream.Close();