Has anyone been able to make the media-filter process JPEG 2000 image files? The current media-filter used by DSpace makes use of these libraries as part of the Java Standard Edition. By default Java SE comes with support for the basic image types: jpeg, gif, png, bit map, etc... However if you install the Java Advanced Imaging Library (JAI) locally then the appropriate plugins will be installed to support JPEG 2000 and TIFF. This shouldn't require any code changes on the part of DSPace, but would require a system administrator to locally install JAI.


However, I've been banging my head on this problem for a few days now and I've never been able to get JAI to work. I've also not been able to find any open source projects that process JPEG 2000 images using JAI. So, has anyone been able to get this to work?

As a follow up to that question, I've been looking at the open source projects which do process JPEG 2000 images. The big one that I've found is Djatoka, we're running it locally and it's a tomcat java web app that can process the JPEG images. They are not using JAI but instead using Kakadu, which is a commercial library written in C. They have embedded the binaries for all the major OS Platforms within the webapp and then load the appropriate libraries for the particular platform. Then with a java wrapper they are able to make calls out to the pre-build binaries. Kakadu is normally a commercial product, however they do offer "Non Commercial" and "Public Service" licenses which might work for DSpace.

Assuming that the JAI library does not actually work, If A&M we're to develop a JPEG 2000 media filter that used the Kakadu would DSpace/Duraspace be open to managing the public service or non commercial license? I am assuming this would have to be a separate module that one could optionally include as a maven dependency which would provide this media-filter because the Kakadu license does restrict to "non commercial uses" and some people use DSpace for commercially.