Where can I specify the T4Options or the Group 3 encoding for the Tiff image that I'm saving? I see in the Compression enumeration you have Group3, but no way to specify the Group 3 encoding which can be MH (1 Dimensional) or MR (2 Dimentional).
My TIFF pages were compressed by LZW compression. I am using the following code to save the pages to CCIT4 compression. But there is no change in compression of the saved pages.
Code:
TiffFile objTiff = new TiffFile(@"D:\1\Test.TIFF");
for (int i = 0; i < objTiff.Pages.Count; i++)
{
TiffEncoder te = new TiffEncoder(true, TiffCompression.CCITGroup4);
objTiff.Pages.Save(@"D:\1\Test"+i.ToString()+".TIFF",te);
}
Could you please check is there anything wrong with my code.