1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/external/openjpeg
Calixte Denizet 94b4b54ef6 [api-major] Add openjpeg.wasm to pdf.js (bug 1935076)
In order to fix bug 1935076, we'll have to add a pure js fallback in case wasm is disabled
or simd isn't supported. Unfortunately, this fallback will take some space.

So, the main goal of this patch is to reduce the overall size (by ~93k).
As a side effect, it should make easier to use an other wasm file (which must export
_jp2_decode, _malloc and _free).
2025-01-16 21:09:50 +01:00
..
openjpeg.js [api-major] Add openjpeg.wasm to pdf.js (bug 1935076) 2025-01-16 21:09:50 +01:00
openjpeg.wasm [api-major] Add openjpeg.wasm to pdf.js (bug 1935076) 2025-01-16 21:09:50 +01:00
README.md Change openjpeg.js license from Apache 2 to BSD 2-clause 2024-06-04 21:22:48 +02:00

Build

In order to generate the file openjpeg.js:

Licensing

OpenJPEG is under BSD 2-clause "Simplified" License and pdf.js.openjpeg is released under BSD 2-clause license so openjpeg.js is released under BSD 2-clause license too.