Skip to content

mozilla/pdf.js.openjpeg

Repository files navigation

pdf.js.openjpeg

Provide a decoder for JPEG2000 images based on the OpenJPEG library.

Build

Run:

node build.js --compile --output my_output_dir

it will create a Docker image with emsdk and then run it. The generated openjpeg.js will be in my_output_dir.

Update

In order to update openjpeg to a specific revision, change the commit hash in Dockerfile and then run:

node build.js --create

to create a new docker image and then

node build.js --compile --output my_output_dir

to compile. The short version is:

node build.js -Cco my_output_dir

Licensing

The code is released under BSD 2-clause.

About

Provide a jpeg2000 decoder for pdf.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published