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

Very slow rendering of scanned document

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.9, 3.0.0 PDFBox
    • Rendering
    • Win7 x64 EN
      JDK6,JDK7,JDK8

    Description

      It takes extremely long to render this file to image.
      Depends on computer but it can take 15s+ to render 1 page.

      When I skip drawing of inserted image /Im0, then rendering is fast. So there is something wrong with drawing that image in

      PageDrawer.drawImage(Image awtImage, AffineTransform at)
      

      when I comment out line

      graphics.drawImage(awtImage, imageTransform, null);
      

      then rendering process takes 6s

      Attachments

        1. PDFBOX-2092.patch
          8 kB
          Petr Slaby
        2. SCAN_20140522_160457490_page2.pdf
          556 kB
          Juraj Lonc
        3. screenshot-profiler.png
          115 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            chupacabras Juraj Lonc
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: