Djatoka

Home: http://sourceforge.net/projects/djatoka/

Language: Java

Environment: Servlet (needs tomcat or similar)

Alive: Sort of - last commit april, last release 2009

License: Open source - needs Kakadu license for commercial use

Features: Tiles, levels, rotate, png/jpg

Discussion

Djatoka was far the easiest server to get up and running quick, and fits our current environments. No need to get a kakadu license just to test.

It's intended usage is to update configuration within the WAR-file for knowledge of specific files, but referring with file:/// url's works too, that is you can pass the source image as a request parameter using a file:/// url.

It is cause for some concern that the project seems half-alive. The official website for it has been dead for some time, although new code has been committed.

In general, djatoka was the easiest option for getting something up and running quick, and it works well with Open Seadragon. It is worth continuing investigating alternatives, though.

IIPImage

Home: http://iipimage.sourceforge.net/

Language: C++

Environment: FCGI server module (needs apache or similar)

Alive: Sort of - last commit february, last release 2009

License: Open source - needs kakadu source code license for JPEG2000 support

Features: Many - tiles, levels, rotate, png/jpg, contrast, brightness, transformations, .....

Discussion

Seems a more finished and robust piece of software than Djatoka, but kakadu source code requirement seems rough.

Harder to get running on JPEG2000 for that reason.

License should be investigated, and tests against djatoka should be made.


Conclusion

We have deployed the Djatoka image server for now, due to its ease of installation.

Installation instructions (in Danish, sorry)

Hej Tom og Jens Henrik,

Vil I sætte denne JPEG2000 image server i stage:
adore-djatoka-1.1
Den kan findes her:
http://sourceforge.net/projects/djatoka/
den ligger også på:
newspapr@achernar:7840-djatoka/adore-djatoka-1.1.tar.gz

Installationsvejledning:
* Pak tar.gz-filen ud
* Installer en tomcat (jeg har testet på tomcat apache-tomcat-6.0.37)
* Installer dist/adore-djatoka.war fra pakken i tomcatten
* Ret setenv.sh med følgende indhold (ret de indlysende stier)
JAVA_HOME=/usr/java/java-1.7.0-oracle-1.7.0.45.x86_64/
DJATOKA_HOME=/home/newspapr/7840-djatoka/adore-djatoka-1.1/
LIBPATH=$DJATOKA_HOME/lib
PLATFORM="Linux-x86-64"
LD_LIBRARY_PATH="$LIBPATH/$PLATFORM"
export LD_LIBRARY_PATH
KAKADU_LIBRARY_PATH="-DLD_LIBRARY_PATH=$LIBPATH/$PLATFORM"
KAKADU_HOME=$DJATOKA_HOME/bin/$PLATFORM
JAVA_OPTS="$DEBUG -Djava.awt.headless=true  -Xmx512M -Xms64M -Dkakadu.home=$KAKADU_HOME -Djava.library.path=$LIBPATH/$PLATFORM $KAKADU_LIBRARY_PATH"
* Start tomcat

The server has been deployed at mirzam, and this URL will redirect to transformed image:

http://stage06.statsbiblioteket.dk/avis-upload/<path>.png