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

slow rendering for PDF

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      When rendering the attached PDF page by page, it takes about 2 minutes 30 seconds on my machine.
      Attached also the CPU sample of visualVM.

      code is as simple as:

      PDFRenderer pdfRenderer = new PDFRenderer(pdf);
      for (int i = 0; i < pdf.getNumberOfPages(); i++) {
        ImageIO.write(pdfRenderer.renderImage(i), "bmp", new File("image-" + i + ".bmp"));
      }

        Attachments

        1. Screenshot 2019-03-19 at 18.09.12.png
          227 kB
          Padovan Stefano
        2. BUCH42 Pascu Guideline adapted.pdf
          241 kB
          Padovan Stefano

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              stex Padovan Stefano

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment