Skip to main content

PDFRenderer getImage crash

No replies
Joined: 2011-09-16
Points: 0

Below I discuss three scenarios in which PDFRenderer fails to generate the image:

  1. PDF saved from a GoogleDocs presentation. The application does not throws any exception, but text blocs are not shown correctly.
  2. PDF generated from a scanned document as an image and then applying OCR in Adobe Acrobat. In this scenario, this error is generated: Unknown coding method:JBIG2Decode. If we don't apply OCR on this document, it is rendered successfully.
  3. PDF created from AutoCAD drawings. (com.sun.pdfview.PDFParseException: Unsupported function type 4.)
googleDocsPresentation.pdf51.92 KB