You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/03/08 12:08:00 UTC

[jira] [Issue Comment Deleted] (PDFBOX-4060) Slow rendering of PDF file with DeviceN jpeg file

     [ https://issues.apache.org/jira/browse/PDFBOX-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-4060:
------------------------------------
    Comment: was deleted

(was: Commit 1887322 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1887322 ]

PDFBOX-4060: use StringBuilder instead of String, as suggested by valerybokov)

> Slow rendering of PDF file with DeviceN jpeg file
> -------------------------------------------------
>
>                 Key: PDFBOX-4060
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4060
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.5, 2.0.8
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: DeviceN
>             Fix For: 2.0.9, 3.0.0 PDFBox
>
>         Attachments: PDFBOX-4060-Patch.txt, PDFBOX-4060-veryslow.pdf
>
>
> (File submitted by Soon Keong Tan on the user mailing list)
> There is a large jpeg file (5349 x 3806) that uses a DeviceN colorspace which in turn is based on CMYK. There's some slowness due to the type0 convert function from DeviceN to CMYK, but this is less than 10%. Most time is from converting the CMYK to RGB, one pixel at a time. (Because of the DeviceN colorspace we can't use bulk conversion, which may or may not be faster)
> jdk: 1.7.0_72 
> benchmarks:
>   (1) 1.8.13  - 1.5 mins
>   (2) 2.0.5 - 6.18 mins
>   (3) 2.0.8 -  6.35 mins 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org