And for total thoroughness, the way to handle the content stream possibly being an array is to use ContentByteUtils.getContentBytesForPage() to get the effective content stream bytes of any page.
1T3XT BVBA wrote > Note: if the content stream of a page is defined as an array, you need > to transform the array of separate streams into one single stream first. > That's a no-brainer, but I mention it anyway before somebody says > 'there's a bug in OCGRemover'. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Remove-Inline-Image-tp4658130p4658148.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ 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