[ 
https://issues.apache.org/jira/browse/PDFBOX-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5337:
------------------------------------
    Labels: JPEG2000 JPXDecode JPXFilter  (was: )

> 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
>            Priority: Minor
>              Labels: JPEG2000, JPXDecode, JPXFilter
>         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]

Reply via email to