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

Tilman Hausherr commented on PDFBOX-2117:
-----------------------------------------

"so that they draw onto a temporary Raster in their native color space" sounds 
like there would be a shading (or at least, a part of it) for every colorspace, 
including the "exotic" ones. (and at least one of them isn't working correctly 
at this time)

> AxialShadingContext is slow
> ---------------------------
>
>                 Key: PDFBOX-2117
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2117
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Petr Slaby
>         Attachments: AxialShading.patch, AxialShading1.patch, 
> Shading2Function2text.pdf, asy-shade.pdf, color_gradient.pdf, 
> shading_pattern.pdf
>
>
> AxialShadingContext#getRaster() is on top of profiler hot spots in documents 
> that use an axial shading. Inside it, the slowest part is calling 
> PDColorSpaceRGB#toRGB() and PDFunctionType3#eval() (in this order).
>   



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to