Source for the libheif-js 1.23.5 browser decoder Bundled ESM SHA-256: 095194187be00d3e36335b8ad7f5552d70655e5e2159486d7d36cd4daa47bba9 The archives contain the JavaScript wrapper, Emscripten build definitions, libheif C/C++ source and its linked libde265 1.0.15 decoder. Unused image/video/PDF test fixtures are omitted from the libheif archive. Code, build scripts and license files retain their original contents. Rebuilding / replacing the library: 1. Extract all archives. Put the libheif source at libheif-emscripten/libheif in place of the Git submodule. Keep libde265-1.0.15.tar.gz in that folder. 2. Follow .github/workflows/emscripten.yml from libheif-emscripten with Ubuntu 22.04 and Emscripten 3.1.61. Build with USE_WASM=1, USE_UNSAFE_EVAL=0, USE_TYPESCRIPT=1 (both target variants can be built). 3. Package the outputs with dist-prep.sh as described by that workflow. 4. In the libheif-js wrapper checkout, install its build dependencies and run node scripts/install.js /path/to/the/rebuilt/libheif.tar.gz to produce libheif-wasm/libheif-bundle.mjs. 5. ToolsInTab loads that ESM library as a separate lazy browser module. Substitute the rebuilt module through a browser local override, or use the same import in src/engines/expansion/formats.ts and rebuild the site. The toolchain can be obtained from https://github.com/emscripten-core/emsdk. These source archives and instructions do not assert bit-for-bit reproducibility. libheif-js: libheif-js.tar.gz Upstream: https://codeload.github.com/catdad-experiments/libheif-js/tar.gz/d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d SHA-256: db9c0c25b15c5c351ac5b045b01009cc446f5712091300656902f9e40a2934db libheif-emscripten: libheif-emscripten.tar.gz Upstream: https://codeload.github.com/catdad-experiments/libheif-emscripten/tar.gz/5c8968a44e9c68ae677e24790d77d001ed7fe7cc SHA-256: 5e524ec5746bb0676c5865c9ce76d40cee871def4a9d437d0a96595830cd235a libheif: libheif.tar.gz Upstream: https://codeload.github.com/strukturag/libheif/tar.gz/413e2a87e6a70b3eccc3a3adc5801179dd2d9e00 SHA-256: ee20953ab791d04f277735f00305a91eadf6447c77abec32e3a727a4c123311c libde265: libde265-1.0.15.tar.gz Upstream: https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz SHA-256: 00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d