Those tiff examples are misleading. iText now supports tiff
natively just like gif, png, etc. If you want to get more than the first page
see the example read_tiffs.java at itextpdf.sf.net.
Best Regards,
Paulo Soares
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Travis Otting
Sent: Friday, June 04, 2004 4:48 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Converting certain .TIFF Images to .PDFI am attempting to convert .TIFF images to .PDF and have had good success modeling the code after the example 12 in the tutorial.I have run into a problem converting one type of generated TIFF (I don't know the originating software) that was created using a large format scanner. The TIFF image has multiple Strips (in this case 12). I am able to read the IDF to get the strip offsets, and byte counts and all seems fine. When the .PDF gets generated - I can only see the first strip - the rest is garbage. I noticed that there seems to be (# of Strips * 8) bytes at the tail end of the physical TIFF that I cannot identify.If I read to the end of the Strips I get the same error as if I read to the end of the file (including the extra bytes). In newer Acrobat readers - It states not enough data to create the image and fails. In older readers Version 3 - It shows the single strip + garbage (same is true for native MAC viewer).Anyone have any Ideas? I have included a sample file.Thanks in advanceTravis
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
