[
https://issues.apache.org/jira/browse/PDFBOX-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lieven vanlerberghe updated PDFBOX-1814:
----------------------------------------
Attachment: source.pdf
446782_nl-sign.pdf
This works fine for me. Thank you very much.
This issue can be closed as far as I'm concerned.
You may be interested however in some errors I detected.
In my test I included, involuntary, some other pdf's, and this is what I got.
On 446782_nl-sign.pdf
feb 22, 2014 10:55:22 AM org.apache.pdfbox.util.PDFStreamEngine processOperator
INFO: unsupported/disabled operation: i
feb 22, 2014 10:55:23 AM org.apache.pdfbox.util.PDFStreamEngine processOperator
INFO: unsupported/disabled operation: BMC
feb 22, 2014 10:55:23 AM org.apache.pdfbox.util.PDFStreamEngine processOperator
INFO: unsupported/disabled operation: EMC
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
> In some cases PDPage converttoimage is extremely slow
> ------------------------------------------------------
>
> Key: PDFBOX-1814
> URL: https://issues.apache.org/jira/browse/PDFBOX-1814
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.8.3
> Environment: all (windows, Linux, unix, jre1.6, jre1.7)
> Reporter: lieven vanlerberghe
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: 446782_nl-sign.pdf, extreme_slow.pdf, source.pdf
>
>
> I convert hundreds of documents with an average of some seconds per page.
> One type of documents takes several minutes per page.
> It is not linked to the size of the document: I extracted one page and
> generated the image on its own.
> It is not linked to the fonts, because I have the same content in another
> document (A6 format instead of A4), and there I don't have a problem.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)