You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/01/09 18:52:00 UTC

[jira] [Comment Edited] (PDFBOX-4059) Issue with JBIG2 Image type for PDF conversion using PDFBOX

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

Tilman Hausherr edited comment on PDFBOX-4059 at 1/9/18 6:51 PM:
-----------------------------------------------------------------

You may have missed my answer in the mailing list, or do you want a "second opinion"?

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.

java -cp "pdfbox-app-2.0.8.jar;lib/levigo-jbig2-imageio-2.0.jar*"



was (Author: tilman):
You may have missed my answer in the mailing list, or do you want a "second opinion"?

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.

java -cp "pdfbox-app-2.0.8.jar;lib/levigo-jbig2-imageio-2.0.jar*


> Issue with JBIG2 Image type for PDF conversion using PDFBOX
> -----------------------------------------------------------
>
>                 Key: PDFBOX-4059
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4059
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JBIG2
>    Affects Versions: 2.0.8
>         Environment: Windows 7
>            Reporter: Harish Thalla
>         Attachments: 1773433_WILL.pdf
>
>
> I am trying to use PDFBox 2.0.8 tool to convert PDF documents to Image files for one of our IT Projects . I am 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 tried to use them but still getting the same error. 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,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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