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, or what. After, playing with pdfbox for a couple of days I never could get an image out of it.
I appreciate your help. Any other ideas?
Thank you,
John

Paulo Soares wrote:

Use pdfbox to extract the images.

----- Original Message ----- From: "John Pruitt" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
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 files for some time now. I am working on a project in which I need to convert these pdf files back to multi-page tiffs. I am aware that iText is primarily designed for creating pdfs as opposed to extracting content from pdfs, however this is a simple, specific case in which each page consists of a single, full-page image. I was wondering if there might be an easy way to extract these images with iText? I am looking through the com.lowagie.text.pdf.codec classes, but have yet to understand how I might be able to use them. I have also looked into another Java pdf library called "pjx." With pjx I am able to get the PdfStream data for the images out, however I am having trouble finding a CCITTFax decoder to decode the stream. Ideally, I would like to get the images in a java.awt.* format. If anyone could provide any insight, leads, links, sample code, etc, it would be greatly appreciated.
Thank you very much,
John


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to