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

Tilman Hausherr resolved PDFBOX-3858.
-------------------------------------
    Resolution: Fixed

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to