Skip to content

renevanderark/jp2view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jp2view

first version, tested on openjpeg2.0 with openjdk1.7

Build and install openjpeg

  1. cd /your/path/to/openjpeg2.0

  2. sudo apt get install cmake make

  3. cmake .

  4. make

  5. sudo make install

Build this project

(prerequisites: make and maven2+)

  1. cd /your/path/to/jp2view

  2. export OPJ_INC=/your/includepath/openjpeg2.0 (i.e.: /usr/local/include/openjpeg-2.0/)

  3. export JAVA_HOME=/your/jdkpath (i.e.: /usr/lib/jvm/java-1.7.0-openjdk-amd64)

  4. make

  5. cd target

  6. java -jar jp2-0.1.0-jar-with-dependencies.jar nl.kb.JP2Reader ../res/balloon.jp2 4

If all went well, there is now a test.jpg file and a test_region.jpg file in the target dir.

About

experimental java jp2 viewer using jni bindings with openjpeg2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published