Page 1 of 2

Multipage Tiff Compression

Posted: Wed Aug 29, 2007 1:07 pm
by andrew
Hello Loïc,
I am trying to add a number of TIFF images to a multipage tiff image using the TiffSaveAsNativeMultiPage, and TiffAddToNativeMultipage Methods, the issue that arises is that the original images are of mixed compressions.

If I call TiffSaveAsNativeMultiPage Method for the first image leaving the nModeCompression blank which defaults to LZW, in the resulting multipage file all black and white images will be stored uncompressed and the greyscales images be saved as 8bit color images using LZW, instead of 8bit greyscale, and colour images are stored properly at 24bit with LZW.

So really my questions are,
First, is it possible to ensure that a greyscale images are saved as a greyscale, instead of colour?

Second, since it is my understanding that multipage TIFF images support having different compressions for each pages, is there any way to do this?
Such as TiffAddToNativeMultipage(sFileName, nModeCompression). ( plus, insuring of course, greyscale images are stored as greyscale)

Thanks,
Andrew

Posted: Mon Sep 24, 2007 3:20 pm
by andrew
Hello Loïc,
any luck on saving a grayscale image to a grayscale TIF?

Re: Multipage Tiff Compression

Posted: Thu Apr 10, 2008 2:30 pm
by rreffin
Hi Loïc - is there any progress on the second question in the original post?

I am currently evaluating GdPicture as a possible replacement for our current scanning and imaging library. So far the GdPicture library (vb .net) is looking excellent, but we have hit an issue regarding saving pages to a TIFF file that have different compressions (e.g. CCITT4 for B&W and LZW for colour). I can only find functions in the library that apply a single compression level to the whole TIFF file, rather than to the individual pages within the file. As our current library allows this, and is a feature that our Customers are currently using, then I would really like to find a way to do this with GdPicture.

So, is there any way to currently do this, or is anything planned?

Many thanks,
Ronnie.

Re: Multipage Tiff Compression

Posted: Fri Apr 11, 2008 12:30 pm
by Loïc
Hi Ronnie,

I had not seen this message ! :oops:

Curently it is only possible to use only one compression within a multipage tiff file.

However, we have into the wish list a multicompression feature for multipage tiff image. I will try to add this feature ASAP but I can not yet fix a date of release.

Best regards,

Loïc Carrère

Re: Multipage Tiff Compression

Posted: Fri Apr 11, 2008 2:59 pm
by rreffin
Thanks Loïc
I'll keep a look out for the date :)


Cheers,
Ronnie

Re: Multipage Tiff Compression

Posted: Wed May 07, 2008 10:28 am
by rreffin
Hi Loïc - is there any sign of this feature on the horizon yet?
(i.e. has it been planned into a release yet?)

Thanks,
Ronnie.

Re: Multipage Tiff Compression

Posted: Thu May 08, 2008 8:51 pm
by Loïc
Not yet Ronnie.

I hope this feature will be available within 2 month.
It is very hard for us to implement this feature without rewriting all our multipage tiff plugin.

Best regards,

Loïc Carrère

Re: Multipage Tiff Compression

Posted: Fri May 09, 2008 10:06 am
by rreffin
Hi Loïc - yeah I thought that there might be quite a few modules that might have to change with that request :?

Anyway - thanks for keeping it in mind and I will check again in another month or so.
2 months should fit in with our timescales since replacing our current imaging solution is not a high priority task.

Many thanks Loïc.
Cheers,
Ronnie.

Re: Multipage Tiff Compression

Posted: Tue Jul 22, 2008 10:42 am
by rreffin
Hi Loïc

What's the latest on this development?
Are you still considering it or has it been shelved?

Cheers,
Ronnie.

Re: Multipage Tiff Compression

Posted: Thu Jul 24, 2008 1:57 pm
by Loïc
H Ronnie,

We made and we are always making tests to implement this feature.

However, we have not yet found any solution for this issue.

Best regards,

Loïc Carrère

Re: Multipage Tiff Compression

Posted: Fri Jul 25, 2008 11:26 am
by rreffin
Ok - thanks Loïc

Re: Multipage Tiff Compression

Posted: Thu Sep 04, 2008 8:35 am
by SSriram
Much like andrew and rrefin, we are also interested in this feature. Any idea if 5.6.13 has implemented this?

Re: Multipage Tiff Compression

Posted: Tue Oct 21, 2008 3:13 am
by lokelo
Any updates?

Re: Multipage Tiff Compression

Posted: Thu Dec 18, 2008 3:08 pm
by SSriram
We are still waiting :(

Re: Multipage Tiff Compression

Posted: Tue Feb 10, 2009 4:35 pm
by TMT
Hi,

Any news on this? We too are very interested in the imaging component, but without the ability to apply different compressions for each page we wouldnt be able to use it. Other software we have looked at has 2 compression parameters for saving to multipage tiffs i.e. BlackAndWhiteCompression, ColorCompression. We would need black and white pages saved with Group4 compression and colour pages saved using JPeg compression...

Thanks in advance,

Phil