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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.21, 2.0.22
    • 2.0.23, 3.0.0 PDFBox
    • Rendering
    • 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

              tilman Tilman Hausherr
              vul Volker Ullmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: