Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4329

JPEG2000 abnormality

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 2.0.11
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:

      Description

      Hello,

      I am using a maven project with 2.0.11 dependency on pdfbox and:

      <dependency>
      <groupId>com.github.jai-imageio</groupId>
      <artifactId>jai-imageio-core</artifactId>
      <version>1.4.0</version>
      </dependency>
      <dependency>
      <groupId>com.github.jai-imageio</groupId>
      <artifactId>jai-imageio-jpeg2000</artifactId>
      <version>1.3.0</version>
      </dependency>

       

      on pom.xml . When I run UnitTests on pdf to image conversion on jpeg2000 images they work fine. When I run runtime conversions I get:

      SEVERE: Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed
      Oct 02, 2018 7:07:08 PM org.apache.pdfbox.contentstream.PDFStreamEngine operatorException
      SEVERE: Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed

      I am aware that the dependencies on the parent pom have only the "test" scope. 

      How can I fix this so that I dont get these 

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evancoh Evangelos Kogchylakis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: