Tiff Compression

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
apuente
Posts: 1
Joined: Wed Feb 18, 2009 2:56 am

Tiff Compression

Post 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).
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Tiff Compression

Post by Alex »

Hello,

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

Best regards, Alexander
prasanth
Posts: 3
Joined: Mon May 11, 2009 10:52 pm

Re: Tiff Compression

Post 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
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Tiff Compression

Post 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
Post Reply