Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.8.7, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: 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. 000001_MTEXT_CS6.pdf
          923 kB
          Petr Slaby
        2. asy-shade.pdf
          3 kB
          Tilman Hausherr
        3. AxialShading.patch
          20 kB
          Petr Slaby
        4. AxialShading1.patch
          20 kB
          Petr Slaby
        5. AxialShadingContext.java.getrgbimage
          11 kB
          Petr Slaby
        6. bad_pdfbox-2117-068519-shadingtype3.pdf-1.png
          77 kB
          Tilman Hausherr
        7. color_gradient.pdf
          2 kB
          Tilman Hausherr
        8. good_pdfbox-2117-068519-shadingtype3.pdf-1.png
          177 kB
          Tilman Hausherr
        9. GWG061_Shading_x1a.pdf
          1.17 MB
          Tilman Hausherr
        10. GWG061_Shading_x1a.pdf-1.png
          20 kB
          Tilman Hausherr
        11. GWG061_Shading_x1a.pdf-1.png-diff.png
          0.7 kB
          Tilman Hausherr
        12. PDFBOX-2117-068519.pdf
          151 kB
          Tilman Hausherr
        13. PDFBOX-2117-068519.pdf-2-bad.png
          13 kB
          Tilman Hausherr
        14. PDFBOX-2117-068519.pdf-2-good.png
          14 kB
          Tilman Hausherr
        15. PDFBOX-2117-068519-ShadingType3.pdf
          39 kB
          Tilman Hausherr
        16. shading_pattern.pdf
          2 kB
          Tilman Hausherr
        17. Shading2Function2.pdf
          3 kB
          Tilman Hausherr
        18. Shading2Function2.ps
          0.4 kB
          Tilman Hausherr
        19. Shading2Function2domain3.pdf
          3 kB
          Tilman Hausherr
        20. Shading2Function2text.pdf
          3 kB
          Tilman Hausherr

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: