Tiff Compression
Moderator: Alex
Tiff Compression
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
Hello,
Our library does not allow to specify options for Group 3/4 encoders.
Best regards, Alexander
Our library does not allow to specify options for Group 3/4 encoders.
Best regards, Alexander
Re: Tiff Compression
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
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
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
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