Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3569

Performance regression in PDColorSpace#toRGBImageAWT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 3.0.0 PDFBox
    • 2.0.4, 3.0.0 PDFBox
    • Rendering
    • None

    Description

      I've a private pdf containing 1900 tiny inline images (CMYK, 8bit) which renders way too slow. Again the CMYK2RGB conversion is the culprit here, BUT the known issue with the KCMS/LCMS change isn't the main problem here.

      I ran some tests on linux (PDFToImage time -imageType png -resolution 150)
      1.6.0_37: 355s
      1.7.0_25: 289s
      1.7.0_75: 298s
      1.8.0_101: cancelled after 15 min

      Attachments

        1. UNTUNT-20161205-A001-E1.pdf
          3.05 MB
          Kristian Jörg
        2. PDFBOX-3569-patch_v3.txt
          3 kB
          Andreas Lehmkühler
        3. PDFBOX-1058.pdf-3.png-diff.png
          29 kB
          Tilman Hausherr
        4. PDFBOX-1058.pdf-3.png
          268 kB
          Tilman Hausherr
        5. PDFBOX-2700-JCS_YCCK.pdf-1.png-diff.png
          412 kB
          Tilman Hausherr
        6. PDFBOX-2700-JCS_YCCK.pdf-1.png
          934 kB
          Tilman Hausherr
        7. PDFBOX-1058.pdf-3.png
          266 kB
          Tilman Hausherr
        8. PDFBOX-2700-JCS_YCCK.pdf-1.png
          883 kB
          Tilman Hausherr
        9. PDFBOX-3569-patch_v2.txt
          2 kB
          Andreas Lehmkühler

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: