Joseph Jezerinac created PDFBOX-5856:
----------------------------------------

             Summary: PDF render problem with embedded image
                 Key: PDFBOX-5856
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5856
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 3.0.2 PDFBox
            Reporter: Joseph Jezerinac
         Attachments: actual.png, expected.png, 
pdfbox-image-rendering-problem.pdf

{code:java}
try (PDDocument document = toPdDocument(pdf)) {
    final PDFRenderer pdfRenderer = new PDFRenderer(document);
    final File imageFile = FileUtils.createTempFile("ec-pdf-image-pg1.png");
    ImageIO.write(pdfRenderer.renderImageWithDPI(0, 300), "png", imageFile);
} {code}
The above code takes the attached pdf as input.  Results in PNG without the 
signature image (see actual.png) the results should match the expected PNG 
attachment.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to