[ 
https://issues.apache.org/jira/browse/PDFBOX-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980979#comment-15980979
 ] 

Tilman Hausherr commented on PDFBOX-3764:
-----------------------------------------

Did you use {{-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider}} and/or 
{{-Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true}} ?

> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to