Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] get RenderedImage for PDF Page?

Aaron J Weber

2006-06-27

Replies:

Sorry, but I'm getting lost in the Javadocs and examples (eagerly awaiting the BOOK!!!)...
 
Here's the high-level thing:  I have some "Image Only" PDFs.  I want to get a java.awt.image.RenderedImage for each page so I can test some OCR tools (will be happy to share any results, if anyone's interested).
 
I followed the TIFF2PDF.java example, and that kind-of goes in the opposite direction, of course.
 
Does anyone have any pointers on how to get a RenderedImage for a page of a PDF?
 
(A follow-on question would be...if I _DO_ get a good OCR of that page, does anyone have an example of adding that text back to that specific page beneath the image -- to make it analogous to a "Image+Text" PDF?)
 
Thanks for any help!
 
-AJ
 
 
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.