Description
And on source.pdf
java.lang.ClassCastException: org.apache.pdfbox.cos.COSArray cannot be cast to org.apache.pdfbox.cos.COSStream
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getMask(PDImageXObject.java:255)
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:154)
at org.apache.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:84)
at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:532)
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:260)
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:227)
at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:209)
at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:144)
at org.apache.pdfbox.util.RenderUtil.renderPage(RenderUtil.java:225)
at org.apache.pdfbox.util.RenderUtil.convertToImage(RenderUtil.java:190)
at main.java.output2jpg.pdf2img(output2jpg.java:270)
at main.java.output2jpg.main(output2jpg.java:116)
feb 22, 2014 11:02:01 AM org.apache.pdfbox.util.operator.pagedrawer.Invoke process
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-5553 PDFRenderer resulting image has black background
- Closed