Page 1 of 1

Tiff Compression

Posted: Wed Feb 18, 2009 3:00 am
by apuente
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).

Re: Tiff Compression

Posted: Wed Feb 18, 2009 3:00 pm
by Alex
Hello,

Our library does not allow to specify options for Group 3/4 encoders.

Best regards, Alexander

Re: Tiff Compression

Posted: Fri May 15, 2009 5:34 pm
by prasanth
Hi Alex,

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.

Thanks
Prasanth

Re: Tiff Compression

Posted: Thu May 28, 2009 8:53 am
by Alex
Hello Prasanth,

Sorry for a delay. CCITT Fax compression algorithms can be used for black-white images. What type of image do you have?

Best regards, Alexander