pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Issue with JBIG2 Image type using PDFBOX for PDF conversion.
Date Mon, 08 Jan 2018 19:31:20 GMT
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


Mime
View raw message