[ 
https://issues.apache.org/jira/browse/PDFBOX-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452915#comment-17452915
 ] 

Tilman Hausherr edited comment on PDFBOX-5337 at 12/3/21, 11:08 AM:
--------------------------------------------------------------------

That's the JPEG2000 oracle imageio decoder inkblot bug. Get the latest version 
of the decoder:
https://github.com/jai-imageio/jai-imageio-core
https://github.com/jai-imageio/jai-imageio-jpeg2000/


was (Author: tilman):
That's the JPEG2000 inkblot bug. Get the latest version of the decoder:
https://github.com/jai-imageio/jai-imageio-core
https://github.com/jai-imageio/jai-imageio-jpeg2000/

> 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