Provide a decoder for JPEG2000 images based on the OpenJPEG library.
Run:
node build.js --compile --output my_output_dirit will create a Docker image with emsdk and then run it. The generated openjpeg.js will be in my_output_dir.
In order to update openjpeg to a specific revision, change the commit hash in Dockerfile and then run:
node build.js --createto create a new docker image and then
node build.js --compile --output my_output_dirto compile. The short version is:
node build.js -Cco my_output_dirThe code is released under BSD 2-clause.