You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Harish Thalla <ha...@cntit.com> on 2018/01/08 19:19:19 UTC

Issue with JBIG2 Image type using PDFBOX for PDF conversion.

Hi,

We are trying to use PDFBox 2.0.8 tool to convert PDF documents to Image files for one of our IT Projects .
We are getting an error when doing this conversion due to JBIG2 image conversion.

I am getting the following error.
SEVERE: Cannot read JBIG2 image: jbig2-imageio is not installed.

I downloaded levigo-jbig2-imageio-2.0.jar, jbig2.jar and JBIG2-Image-Decoder.jar files from https://pdfbox.apache.org and my command line on DOS is as follows.

java -cp "C:\oracle\Java\jdk1.6.0_38\lib\*" -jar c:\java_test\pdfbox-app-2.0.8.jar PDFToImage 1449355_Fax.pdf

Any help to resolve this issue will be greatly appreciated.

Thanks,
Harish Thalla
CNT Infotech.
Ph: 302 857 5355

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


Re: Issue with JBIG2 Image type using PDFBOX for PDF conversion.

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 08.01.2018 um 20:19 schrieb Harish Thalla:
> Hi,
>
> We are trying to use PDFBox 2.0.8 tool to convert PDF documents to Image files for one of our IT Projects .
> We are getting an error when doing this conversion due to JBIG2 image conversion.
>
> I am getting the following error.
> SEVERE: Cannot read JBIG2 image: jbig2-imageio is not installed.
>
> I downloaded levigo-jbig2-imageio-2.0.jar, jbig2.jar and JBIG2-Image-Decoder.jar files from https://pdfbox.apache.org and my command line on DOS is as follows.
>
> java -cp "C:\oracle\Java\jdk1.6.0_38\lib\*" -jar c:\java_test\pdfbox-app-2.0.8.jar PDFToImage 1449355_Fax.pdf

Please verify that "C:\oracle\Java\jdk1.6.0_38\lib" really exists, and 
use only levigo-jbig2-imageio-2.0.jar and not the two other files. Don't 
use "-jar" if you use "-cp". Instead, put both in the -cp string, e.g.

-cp "pdfbox-app-2.0.8.jar;C:\oracle\Java\jdk1.6.0_38\lib\*

maybe change the \ to /.

Tilman


>
> Any help to resolve this issue will be greatly appreciated.
>
> Thanks,
> Harish Thalla
> CNT Infotech.
> Ph: 302 857 5355
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>


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