[ 
https://issues.apache.org/jira/browse/PDFBOX-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guna A updated PDFBOX-4972:
---------------------------
    Description: 
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

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>

  was:
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

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. 
 See also LEGAL-195 -->
 <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>


> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to