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

Performance issue when converting PDF to image after upgrading from PDFBox 2.0.20 to 2.0.21

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.21, 2.0.22
    • Fix Version/s: 2.0.23, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
    • Environment:
      JDK 8 on Windows10

      Description

      We use PDFBox to save the first page of a PDF as an image to provide a preview of the document. These PDFs can be relatively complex as they may contain ten thousands of objects, especially map data. The results are still fine, but when we upgraded from 2.0.20 to 2.0.21 we had a notable performance decrease. Saving the first page of the attached sample document now takes nearly 20 sec on my developer machine, compared to 4 sec with 2.0.20.

       

       

        Attachments

        1. single_page.pdf
          15.87 MB
          Volker Ullmann

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                vul Volker Ullmann
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: