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

slow rendering for PDF

    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

            tilman Tilman Hausherr
            stex Padovan Stefano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: