Multipage Tiff Compression
Multipage Tiff Compression
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
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
Re: Multipage Tiff Compression
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.
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
Hi Ronnie,
I had not seen this message !
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
I had not seen this message !
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
Thanks Loïc
I'll keep a look out for the date
Cheers,
Ronnie
I'll keep a look out for the date
Cheers,
Ronnie
Re: Multipage Tiff Compression
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.
(i.e. has it been planned into a release yet?)
Thanks,
Ronnie.
Re: Multipage Tiff Compression
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
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
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.
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
Hi Loïc
What's the latest on this development?
Are you still considering it or has it been shelved?
Cheers,
Ronnie.
What's the latest on this development?
Are you still considering it or has it been shelved?
Cheers,
Ronnie.
Re: Multipage Tiff Compression
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
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
Ok - thanks Loïc
Re: Multipage Tiff Compression
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
We are still waiting
Re: Multipage Tiff Compression
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
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
Who is online
Users browsing this forum: No registered users and 0 guests