You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/07 16:18:00 UTC

[jira] [Commented] (PDFBOX-3858) Optimize 1 component DeviceN colorspace

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

ASF subversion and git services commented on PDFBOX-3858:
---------------------------------------------------------

Commit 1801188 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1801188 ]

PDFBOX-3858: add cache for single component colorspaces

> Optimize 1 component DeviceN colorspace
> ---------------------------------------
>
>                 Key: PDFBOX-3858
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3858
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel, Rendering
>    Affects Versions: 2.0.6
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>              Labels: devicen
>             Fix For: 2.0.7, 3.0.0
>
>         Attachments: DeviceNcs.png
>
>
> I received a file (confidential) that has an image with a 1 component DeviceN colorspace that maps (through a long type 4 function) to a CMYK colorspace. Rendering takes over 20 minutes. The reason is that  for each pixel, first the type 4 (PostScript) function must be calculated, then the CMYK value must be converted to RGB.
> Solution: cache the inputs and the results when the DeviceN colorspace has only 1 component. Rendering time goes down to a few seconds.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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