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

Issue on PDF rendering

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.21
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None

      Description

      Applying PDFRenderer to the attached PDF file:

       

      PDFRenderer pdfRenderer = new PDFRenderer(...);BufferedImage bim = pdfRenderer.renderImageWithDPI(0, 200, ImageType.RGB);

       

      the produced image file is not complete, most of the text is missing.

      The execution environment is jdk 1.8.0_60 with the following Maven dependencies:

       <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>pdfbox</artifactId>
        <version>2.0.21</version>
      </dependency>
      <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>pdfbox-tools</artifactId>
        <version>2.0.21</version>
      </dependency>
      <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>jbig2-imageio</artifactId>
        <version>3.0.2</version>
      </dependency>
      <dependency>
        <groupId>com.github.jai-imageio</groupId>
        <artifactId>jai-imageio-core</artifactId>
        <version>1.3.1</version>
      </dependency>
      <dependency>
        <groupId>com.github.jai-imageio</groupId>
        <artifactId>jai-imageio-jpeg2000</artifactId>
        <version>1.3.0</version>
      </dependency>
      <dependency>
        <groupId>com.twelvemonkeys.imageio</groupId>
        <artifactId>imageio-jpeg</artifactId>
        <version>3.6</version>
      </dependency>

       

      Is there a way to addess this correctly?

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              m.barbi@satanet.it Marco Barbi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment