VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.6, 1.8.7, 2.0.0
    • 2.0.0
    • Rendering

    Description

      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).

      Attachments

        1. AxialShading.patch
          20 kB
          Petr Slaby
        2. asy-shade.pdf
          3 kB
          Tilman Hausherr
        3. color_gradient.pdf
          2 kB
          Tilman Hausherr
        4. Shading2Function2text.pdf
          3 kB
          Tilman Hausherr
        5. shading_pattern.pdf
          2 kB
          Tilman Hausherr
        6. AxialShading1.patch
          20 kB
          Petr Slaby
        7. 000001_MTEXT_CS6.pdf
          923 kB
          Petr Slaby
        8. AxialShadingContext.java.getrgbimage
          11 kB
          Petr Slaby
        9. Shading2Function2.pdf
          3 kB
          Tilman Hausherr
        10. Shading2Function2.ps
          0.4 kB
          Tilman Hausherr
        11. GWG061_Shading_x1a.pdf
          1.17 MB
          Tilman Hausherr
        12. GWG061_Shading_x1a.pdf-1.png
          20 kB
          Tilman Hausherr
        13. GWG061_Shading_x1a.pdf-1.png-diff.png
          0.7 kB
          Tilman Hausherr
        14. PDFBOX-2117-068519.pdf
          151 kB
          Tilman Hausherr
        15. PDFBOX-2117-068519.pdf-2-bad.png
          13 kB
          Tilman Hausherr
        16. PDFBOX-2117-068519.pdf-2-good.png
          14 kB
          Tilman Hausherr
        17. bad_pdfbox-2117-068519-shadingtype3.pdf-1.png
          77 kB
          Tilman Hausherr
        18. good_pdfbox-2117-068519-shadingtype3.pdf-1.png
          177 kB
          Tilman Hausherr
        19. PDFBOX-2117-068519-ShadingType3.pdf
          39 kB
          Tilman Hausherr
        20. Shading2Function2domain3.pdf
          3 kB
          Tilman Hausherr

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xinshu Shaola Ren
            pslabycz Petr Slaby
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment