Rendering Special Images with Java Advanced Imaging (JAI) Plugin
Certain special image types can be rendered in Oxygen XML Author Eclipse plugin by using a Java Advanced Imaging (JAI) Image I/O Tools plugin.
How to Install JAI Image I/O Tools Plugin
To install this plugin, follow this procedure:
- Start Oxygen XML Author Eclipse plugin and open the dialog box. Click the
Installation Details button, go to the
Configuration tab, and look for the
java.runtime.name
andjava.home
properties. Keep their values for later use. - Download the JAI Image I/O kit corresponding to your operating system and Java
distribution (found in the
java.runtime.name
property). A list of archived JAI distributions can be found at: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html.Note: The JAI API is not the same thing as JAI Image I/O. Make sure you have installed the latter. - Run the installer. When the installation wizard displays the Choose Destination
Location page, fill-in the Destination Folder field with the value of the
java.home
property. Continue with the installation procedure and follow the on-screen instructions.
macOS Workaround
There is no native implementation of the JAI Image I/O Tools plugin for macOS 10.5 and later. However, it has a Java implementation fallback that also works on macOS. Some of the image formats are not fully supported in this fallback mode, but at least the TIFF image format is known to be supported.
Use the following procedure for this macOS workaround:
- Download a Linux (tar.gz) distribution of the JAI Image I/O Tools plugin. A list of archived JAI distributions can be found at: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html.
- In the [OXYGEN_INSTALL_DIR]/lib directory, create a directory named endorsed ([OXYGEN_INSTALL_DIR]/lib/endorsed).
- Unpack the
tar.gz
. Copy the clibwrapper_jiio.jar and jai_imageio.jar files from itslib
directory and paste them in the [OXYGEN_INSTALL_DIR]/lib/endorsed directory. - Restart the application and the JAI Image I/O support will be up and running.