[
https://issues.apache.org/jira/browse/PDFBOX-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15724958#comment-15724958
]
Kristian Jörg commented on PDFBOX-3569:
---------------------------------------
I tried this patch and it did not improve performance at all. On the contrary
actually. I have PDF files from a newspaper, one PDF per page and I am
rendering those to JPEG images. This is slow regardless of if I am using the
patch or not. And I have set the Kodac CMS also.
20 pages of these pages takes about 90 seconds without patch, and about 650
seconds(!) with patch. So no go with these PDF files. The PDF files are for
print with high quality CMYK images. They need to be rendered as RGB. I'm on
Pdfbox 2.0.3
I've tried on both Windows (my desktop computer) and a virtual Linux in Amazon
EC2 which has no graphics card. The results where the same. The patch is way
slower.
I will attach a sample PDF to this issue. (UNTUNT-*.pdf). Any hints on how to
speed up rendering is appreciated,
> Performance regression in PDColorSpace#toRGBImageAWT
> ----------------------------------------------------
>
> Key: PDFBOX-3569
> URL: https://issues.apache.org/jira/browse/PDFBOX-3569
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.3, 2.1.0
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-1058.pdf-3.png, PDFBOX-1058.pdf-3.png,
> PDFBOX-1058.pdf-3.png-diff.png, PDFBOX-2700-JCS_YCCK.pdf-1.png,
> PDFBOX-2700-JCS_YCCK.pdf-1.png, PDFBOX-2700-JCS_YCCK.pdf-1.png-diff.png,
> PDFBOX-3569-patch_v2.txt, PDFBOX-3569-patch_v3.txt,
> UNTUNT-20161205-A007-E1.pdf
>
>
> I've a private pdf containing 1900 tiny inline images (CMYK, 8bit) which
> renders way too slow. Again the CMYK2RGB conversion is the culprit here, BUT
> the known issue with the KCMS/LCMS change isn't the main problem here.
> I ran some tests on linux (PDFToImage time -imageType png -resolution 150)
> 1.6.0_37: 355s
> 1.7.0_25: 289s
> 1.7.0_75: 298s
> 1.8.0_101: cancelled after 15 min
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]