[
https://issues.apache.org/jira/browse/PDFBOX-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5856:
------------------------------------
Attachment: PDFBOX-5856-p1-300dpi.jpg
> 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
> Priority: Major
> Attachments: PDFBOX-5856-p1-300dpi.jpg, 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]