You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2020/09/29 15:51:00 UTC
[jira] [Commented] (PDFBOX-4972) ExtractImages JPEG2000 images not
extracting
[ https://issues.apache.org/jira/browse/PDFBOX-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204044#comment-17204044 ]
Maruan Sahyoun commented on PDFBOX-4972:
----------------------------------------
Please review [https://pdfbox.apache.org/2.0/dependencies.html#jai-image-i%2Fo]
If using the information from the pdfbox.pom you need to change the scope from test or remove scope
> ExtractImages JPEG2000 images not extracting
> --------------------------------------------
>
> Key: PDFBOX-4972
> URL: https://issues.apache.org/jira/browse/PDFBOX-4972
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Environment: All
> Reporter: Guna A
> Priority: Major
> Labels: extractimages
> Attachments: 3.pdf
>
>
> ExtractImages not working for the attached PDF.
> Getting the below error:
> org.apache.pdfbox.contentstream.PDFStreamEngine operatorException
> SEVERE: Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed
> In all version of PDFBox, same exception is coming. Tried with standalone jar as well.
> Have the dependencies in pom.xml
> <dependency>
> <groupId>org.apache.pdfbox</groupId>
> <artifactId>jbig2-imageio</artifactId>
> <scope>test</scope>
> </dependency>
> <!-- For legal reasons (incompatible license), these two dependencies
> are to be used only in the tests and may not be distributed. -->
> <dependency>
> <groupId>com.github.jai-imageio</groupId>
> <artifactId>jai-imageio-core</artifactId>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>com.github.jai-imageio</groupId>
> <artifactId>jai-imageio-jpeg2000</artifactId>
> <scope>test</scope>
> </dependency>
> </dependencies>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org