Hi, ImageXRefViewer will help us to extract images input stream from pdf document. After getting the image input stream I am able to create the instance of only jpeg images are embedded in pdf document.
Image image = Image.getInstance(imgBytes); For other formated images getting the error massage. java.io.IOException: The byte array is not a recognized imageformat. Please need your help to extract all formats images are embedded/available in pdf document. Bruno Lowagie (iText) wrote: > > jerry wrote: > >>hi, >> >> how to extract the stamped images from pdf using itext.i will be >> very >>thankfull to u if u Provide me a sample code.forgive me if this is a repeated >>question. >> > Not sure what you mean by stamped images. > Images added with PdfStamper, yeah? > Take a look at the ImageXRefViewer plug-in in the toolbox. > http://itext.ugent.be/library/src/com/lowagie/tools/plugins/ > It has some code in the execute method that can be used > to read images from PDF files. > br, > Bruno > > ------------------------------------------------------------------------- > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > -- View this message in context: http://old.nabble.com/extract-the-stamped-image-from-pdf-tp6302287p26573800.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/