[
https://issues.apache.org/jira/browse/PDFBOX-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980990#comment-15980990
]
Daniel Persson commented on PDFBOX-3764:
----------------------------------------
Hi Tilman.
Thank you for the support. Sadly I've not read the getting started guide at
https://pdfbox.apache.org/2.0/getting-started.html
Been using PDFBox for reading text for years now so I've must missed this
update.
Now we're down to 19 seconds rendering instead of 10 minutes. :)
And after I added the org.apache.pdfbox.rendering.UsePureJavaCMYKConversion the
thing taking the most time is the InputStream.read function which seems
resonable.
Thank you for the quick response.
Best regards
Daniel
> 100 times performance hit on creating images
> --------------------------------------------
>
> Key: PDFBOX-3764
> URL: https://issues.apache.org/jira/browse/PDFBOX-3764
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.6
> Reporter: Daniel Persson
> Labels: image, performance
> Attachments: callstack_1.png, callstack_2.png, test.pdf
>
>
> We found that PDFBox creates a better image than poppler so we wanted to
> switch out our environment to get these improvements but found a file that
> took about 10 minutes to create one image with PDFBox and only about 6
> seconds with poppler. So a 100 times performance hit if we where to change.
> I've done some rudimentary profiling on the code and found that most of the
> time is spent in ColorConvertOp.filter. Maybe there is a leaner way to
> implement this in order to get a better result?
> best regards
> Daniel
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]