Re: [iText-questions] CCITTFax Decode

2005-11-23 Thread Paulo Soares
esday, November 23, 2005 8:03 PM Subject: Re: [iText-questions] CCITTFax Decode I am trying to follow your recommendations, however I am having a few problems. I have been trying to use TiffImage.getTiffImage() to extract the tiff images from my pdf. 1. First, I tried to use PdfReader.getSafeFile(

Re: [iText-questions] CCITTFax Decode

2005-11-23 Thread John Pruitt
on how to use it. You can extract streams with PdfReader.getStreamBytes(). - Original Message - From: "John Pruitt" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, November 22, 2005 7:25 PM Subject: Re: [iText-questio

Re: [iText-questions] CCITTFax Decode

2005-11-22 Thread John Pruitt
Message - From: "John Pruitt" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, November 22, 2005 7:25 PM Subject: Re: [iText-questions] CCITTFax Decode I believe the following (taken from CCITTFaxDecodeFilter.java of pdfbox) m

Re: [iText-questions] CCITTFax Decode

2005-11-22 Thread Paulo Soares
Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, November 22, 2005 7:25 PM Subject: Re: [iText-questions] CCITTFax Decode I believe the following (taken from CCITTFaxDecodeFilter.java of pdfbox) might explain why pdfbox does not decode my pdfstream and produce the images I need:

Re: [iText-questions] CCITTFax Decode

2005-11-22 Thread John Pruitt
I believe the following (taken from CCITTFaxDecodeFilter.java of pdfbox) might explain why pdfbox does not decode my pdfstream and produce the images I need: public void decode( InputStream compressedData, OutputStream result, COSDictionary options ) throws IOException { org.pdfbox

Re: [iText-questions] CCITTFax Decode

2005-11-22 Thread John Pruitt
Yes, I tried using pdfbox as well. Pdfbox comes with an example program which should extract images from a pdf file, however when I used the example, the code produced null references instead of references to valid images. I am not sure if this is due to a bug in the current version of pdfbox,

Re: [iText-questions] CCITTFax Decode

2005-11-22 Thread Paulo Soares
Use pdfbox to extract the images. - Original Message - From: "John Pruitt" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 22, 2005 6:20 PM Subject: [iText-questions] CCITTFax Decode My company has been using iText successfully to convert multi-page tiff files into encrypted pdf fil