libheif-js 1.23.5 ================= libheif, a HEIF and HEIC decoder compiled to WebAssembly: libheif and libde265 compiled to WebAssembly (libheif.wasm), and the script that starts them (libheif.js). The files in this folder are copied unchanged from the npm package libheif-js, version 1.23.5. /vendor/manifest.json lists the SHA-256 of each one. License LGPL-3.0. The license text is LICENSE.txt in this folder. The engine that reads HEIF and HEIC images, such as the photos phones take. It is libheif with the libde265 HEVC decoder, both under the GNU LGPL, compiled to a WebAssembly file and a script that starts it. Both are served unmodified and loaded by the site at run time in a Web Worker, one job at a time; they are never part of the site’s own scripts, so they can be replaced by any build that keeps the same interface. The build decodes only: no HEVC encoder is compiled in. Source Repository https://github.com/catdad-experiments/libheif-js Commit d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d The gitHead that the npm registry records for this package; the upstream tag 1.23.5 points at the same commit. Browse https://github.com/catdad-experiments/libheif-js/tree/d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d How it was built Build files scripts/install.js, package.json (in the repository above, at that commit) Command npm run fetch (scripts/install.js) Toolchain Emscripten 3.1.61 scripts/install.js downloads libheif.tar.gz from release v1.23.5 of https://github.com/catdad-experiments/libheif-emscripten (commit 5c8968a44e9c68ae677e24790d77d001ed7fe7cc), whose workflow .github/workflows/emscripten.yml runs libheif’s own build-emscripten.sh with USE_WASM=1 and USE_UNSAFE_EVAL=0 and its defaults: libde265 on, AV1 and JPEG 2000 off, no encoders. It copies libheif.wasm as built and passes libheif.js through esbuild (minified, ES2019). What is inside it Name, version and license, then the source and where the license files are. libheif 1.23.5: LGPL-3.0-or-later COPYING holds the GNU LGPL version 3, the GNU GPL version 3 that it builds on, and the MIT License of libheif’s sample programs, which are not compiled in. The script that starts the engine includes libheif’s post.js. https://github.com/strukturag/libheif, tag v1.23.5 commit 413e2a87e6a70b3eccc3a3adc5801179dd2d9e00 license files: third-party/libheif/ libde265 (HEVC decoder) 1.0.15: LGPL-3.0-or-later Decoding only; the version is the default that libheif’s build-emscripten.sh downloads. COPYING also names the MIT License of its sample programs, which are not compiled in. https://github.com/strukturag/libde265, tag v1.0.15 commit 17bb8d9fcea62db8cdeb0fc7ef8d15dbd19a22e4 license files: third-party/libde265/ Emscripten runtime (musl libc, libc++, libc++abi, compiler-rt, embind) 3.1.61: MIT OR NCSA; musl: MIT; LLVM libraries: Apache-2.0 WITH LLVM-exception https://github.com/emscripten-core/emscripten, tag 3.1.61 commit 67fa4c16496b157a7fc3377afd69ee0445e8a6e3 license files: third-party/emscripten/