I have a two paged TIFF with PackBits Compression. Using the example
(chap0611) provided, I tried to create a PDF containing this image and I see
two blank pages but not the images. But using the same code, I am able to
display 338814-00.tif (Compression: CCITT Group 4) provided with the
example. 

With the example using TIFF directories and fields, I get an exception for
Packbits compression. Also, I get "Compression type 5 not supported"
exception with LZW compression.

Per http://java.sun.com/products/java-media/jai/iio.html, TIFF support
reads:
In addition to the baseline specification, the encoder and decoder support
PackBits, modified Huffman and CCITT bilevel encodings (fax), JPEG-in-TIFF
(per TIFF Technical Note #2), and DEFLATE compression schemes, can handle
images with 16- and 32-bit integral samples and 32-bit floating point
samples, and can read and write tiled images of all supported data types.
The decoder in addition can decompress LZW-compressed imagery.

Could someone point me why then I am not able to display the images in the
PDF?

Thanks,
Shobana


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to