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 2020/10/24 13:52:00 UTC

[jira] [Closed] (PDFBOX-4972) ExtractImages JPEG2000 images not extracting

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

Tilman Hausherr closed PDFBOX-4972.
-----------------------------------
    Resolution: Not A Bug

last comment in SO indicates it's working

> 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