W
Wint
Guest
Currently I have a process that is charged with taking a multipage TIF image with CCITT4 compression (1bpp) and splitting it up into multiple multipage TIF images with the same CCITT4 compression based on an accompanying XML file that tells where each group of images start and end.
The code I used comes from this article: http://www.codeproject.com/cs/media/SaveMultipageTiff.asp. The problem is that when splitting the original TIF up into it's individual frames, I seem to be loosing the CCITT4 compression and the code to covert it to a bi-tonal image is using tremendous overhead for the number of splits I need to do.
My question is this: is it possible to take a TIF and somehow split it down to it's individual frames but maintain the parameters for the image (specifically the compression and bits per sample) so they can be recombined without having to convert it back to bi-tonal?
Continue reading...
The code I used comes from this article: http://www.codeproject.com/cs/media/SaveMultipageTiff.asp. The problem is that when splitting the original TIF up into it's individual frames, I seem to be loosing the CCITT4 compression and the code to covert it to a bi-tonal image is using tremendous overhead for the number of splits I need to do.
My question is this: is it possible to take a TIF and somehow split it down to it's individual frames but maintain the parameters for the image (specifically the compression and bits per sample) so they can be recombined without having to convert it back to bi-tonal?
Continue reading...