Remove direct JAI dependency
----------------------------
Key: PDFBOX-381
URL: https://issues.apache.org/jira/browse/PDFBOX-381
Project: PDFBox
Issue Type: Improvement
Components: PDModel
Reporter: Jukka Zitting
Priority: Blocker
Fix For: 0.8.0-incubator
As noted during the license review (PDFBOX-366), we can't have the Java
Advanced Imaging (JAI) libraries included in Apache PDFBox.
One alternative would be to require downstream users to explicitly download the
required JAI libraries from Sun and place them in the lib directory before
building PDFBox. That's quite cumbersome, so I looked at how tightly integrated
PDFBox is with the JAI libraries.
It turns out that only two classes in PDFBox (PDPage and PDCcitt) have direct
dependencies to the JAI libraries. The PDPage dependency is used for rotating
the page image, and the PDCcitt dependency for parsing a tiff image.
I believe both of these dependencies can be replaced with functionality or
interfaces available in standard JDK 1.4. See the attached patch for the
proposed changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.