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 » Wed Feb 18, 2009 3:00 am

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: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Tiff Compression

Post by Alex » Wed Feb 18, 2009 3:00 pm

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 » Fri May 15, 2009 5:34 pm

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: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Tiff Compression

Post by Alex » Thu May 28, 2009 8:53 am

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

Who is online

Users browsing this forum: No registered users and 2 guests