You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Daniel Skiles <ds...@docfinity.com> on 2023/01/13 18:23:25 UTC

Weird PDF to image conversion result

All,
When I convert the linked PDF to image using 3.0.0-alpha3, I get the linked
PNG output.  Do any of you know where the horizontal lines are coming
from?  The lines don't render in Chrome or SumatraPDF.
https://drive.google.com/drive/folders/1Sgpp3KqskO3yvfCXPvLgdnWZulKSykQM?usp=sharing

Re: Weird PDF to image conversion result

Posted by Tilman Hausherr <TH...@t-online.de>.
On 13.01.2023 19:23, Daniel Skiles wrote:
> All,
> When I convert the linked PDF to image using 3.0.0-alpha3, I get the linked
> PNG output.  Do any of you know where the horizontal lines are coming
> from?  The lines don't render in Chrome or SumatraPDF.
> https://drive.google.com/drive/folders/1Sgpp3KqskO3yvfCXPvLgdnWZulKSykQM?usp=sharing
>

This is related to a bad jpeg2000 decoder in JAI. The newer decoder 
solves this problem.

             <dependency>
<groupId>com.github.jai-imageio</groupId>
<artifactId>jai-imageio-core</artifactId>
                 <version>1.4.0</version>
             </dependency>
             <dependency>
<groupId>com.github.jai-imageio</groupId>
<artifactId>jai-imageio-jpeg2000</artifactId>
                 <version>1.4.0</version>
             </dependency>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org