HEIC / HEIF decoder notices and corresponding source This tool dynamically loads the unmodified libheif-js 1.23.5 ESM/WASM library. Library replacement and modification for personal use, including reverse engineering for debugging such modifications, are not restricted by this tool. The rest of the photo-date-stamp application is separate from the library. libheif-js 1.23.5 (LGPL-3.0) Source and JS bundling scripts: https://github.com/catdad-experiments/libheif-js/tree/d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d https://github.com/catdad-experiments/libheif-js/archive/d8ec4bc3bc5bf8055975577bccbbc7e1d7313c2d.tar.gz Native build recipe (WASM, unsafe eval disabled): https://github.com/catdad-experiments/libheif-emscripten/tree/v1.23.5 https://github.com/catdad-experiments/libheif-emscripten/archive/refs/tags/v1.23.5.tar.gz libheif corresponding source (LGPL-3.0, license in LIBHEIF-LICENSE.txt): https://github.com/strukturag/libheif/tree/413e2a87e6a70b3eccc3a3adc5801179dd2d9e00 https://github.com/strukturag/libheif/archive/413e2a87e6a70b3eccc3a3adc5801179dd2d9e00.tar.gz libde265 1.0.15 (LGPL-3.0, license in LIBDE265-LICENSE.txt): https://github.com/strukturag/libde265/tree/v1.0.15 https://github.com/strukturag/libde265/archive/refs/tags/v1.0.15.tar.gz Emscripten 3.1.61 and runtime source (licenses in HEIF-RUNTIME-LICENSES.txt): https://github.com/emscripten-core/emscripten/tree/3.1.61 https://github.com/emscripten-core/emscripten/archive/refs/tags/3.1.61.tar.gz To rebuild: check out the native build recipe at v1.23.5 with recursive submodules, follow .github/workflows/emscripten.yml (Emscripten 3.1.61, USE_WASM=1, USE_UNSAFE_EVAL=0), then use the pinned libheif-js scripts/install.js to produce the ESM bundle. No native library patches are applied by xtools.jp. Replace /assets/vendor/photo-date-stamp/libheif-bundle.js with a compatible ESM build to use a modified library. The source repositories above provide free access to the complete corresponding library and build sources.