I have been using a custom RenderListener implementation to extract images from PDFs on a per page basis. This works fine for most of the images. However, I've found that the getBufferedImage() method of the PdfImageObject that can be obtained from the ImageRenderInfo always returns "null" when the image is encoded JBIG2. Registering a JBIG2 ImageIO reader didn't solve the problem. It seems that no proper reader can be found that is able to decode the image bytes. Probably I'm missing the JBIG2 globals but I do not find a straightforward way making things happen. So my questions are: - What am I missing? - Can anyone recommend a different approach to my main goal -> extract all images from each PDF page including those encoded JBIG2? Thanks in advance, Miguel
-- View this message in context: http://itext.2136553.n4.nabble.com/How-to-extract-JBIG2-images-as-BufferedImages-tp4660996.html Sent from the iText mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php