Stefan Schmaltz created PDFBOX-5337:
---------------------------------------
Summary: Renderer draws black points
Key: PDFBOX-5337
URL: https://issues.apache.org/jira/browse/PDFBOX-5337
Project: PDFBox
Issue Type: Bug
Components: Rendering
Affects Versions: 2.0.24
Reporter: Stefan Schmaltz
Attachments: Stein 21622 Edelstahl-Abdeckung.pdf,
image-2021-12-03-11-38-30-088.png, image-2021-12-03-11-39-07-953.png,
image-2021-12-03-11-39-53-172.png
Hi,
we use pdfbox to render documents. Now we have scanned documents here, that
renders with black points:
!image-2021-12-03-11-39-07-953.png!
But Acrobat Reader shows this:
!image-2021-12-03-11-39-53-172.png!
Simple usage:
{code:java}
PDFRenderer renderer = new PDFRenderer(pdfFile);
renderer.setSubsamplingAllowed(true);
renderer.setDefaultDestination(RenderDestination.VIEW);
BufferedImage rimg = renderer.renderImage(...)
...
g.drawImage(rimg...) {code}
pdfbox 2.0.24
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]