[
https://issues.apache.org/jira/browse/PDFBOX-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2117.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Assignee: Shaola Ren
[~xinshu] I committed your changes for axial shading in rev 1610913 for the
trunk, made only minor changes in comments. I'll review the other changes
later. I like your approach to this which also optimized a diagonal shading.
That's the bonus of your strong math background! Thanks also [~pslabycz] for
the hints and the support.
> AxialShadingContext is slow
> ---------------------------
>
> Key: PDFBOX-2117
> URL: https://issues.apache.org/jira/browse/PDFBOX-2117
> Project: PDFBox
> Issue Type: Sub-task
> Components: Rendering
> Reporter: Petr Slaby
> Assignee: Shaola Ren
> Fix For: 2.0.0
>
> Attachments: 000001_MTEXT_CS6.pdf, AxialShading.patch,
> AxialShading1.patch, AxialShadingContext.java.getrgbimage,
> GWG061_Shading_x1a.pdf, GWG061_Shading_x1a.pdf-1.png,
> GWG061_Shading_x1a.pdf-1.png-diff.png, Shading2Function2.pdf,
> Shading2Function2.ps, 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)