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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: