HEIC DECODER SOURCES AND MODIFICATIONS Runtime file libheif.js is byte-for-byte src/lib/libheif-without-unsafe-eval.js from the official heic-to 1.6.6 npm package. Its source header records libheif 1.23.6, USE_UNSAFE_EVAL=0 and LIBDE265_VERSION=1.0.16. The following archives are served with this build in ../sources/: heic-to-1.6.6.tgz https://registry.npmjs.org/heic-to/-/heic-to-1.6.6.tgz Includes wrapper sources, bundled decoder source and esbuild.mjs. libheif-1.23.6.tar.gz https://codeload.github.com/strukturag/libheif/tar.gz/refs/tags/v1.23.6 Includes the native library, post.js and build-emscripten.sh. libde265-1.0.16.tar.gz https://codeload.github.com/strukturag/libde265/tar.gz/refs/tags/v1.0.16 Includes the HEVC decoder source used by the Emscripten build. The upstream build invocation is documented in UPSTREAM-README.md: LIBDE265_VERSION=1.0.16 USE_UNSAFE_EVAL=0 USE_WASM=0 ../build-emscripten.sh .. The upstream script defaults to ENABLE_AOM=0. This HEIC decoder is not the application's AVIF decoder; AVIF uses the browser's native image decoder. The upstream npm archive is included unchanged. For convenience, selected wrapper/build sources are also in upstream-source/. Their original notices and licence are preserved. Full library sources and their own notices are in the source archives; upstream compiler/toolchain instructions are retained. heic-worker.js was adapted for this application on 18 October 2026: - import the local eval-free decoder directly; - check dimensions before allocating the full RGBA output; - process the first still image; - transfer the result pixel buffer instead of cloning it; - return explicit errors and release decoder handles. This adapted worker's full editable source is the deployed .js file and is provided under LGPL-3.0. The main application terminates the worker after each file so its decoder heap is released, including on timeout. See LICENSE, LIBHEIF-COPYING, LIBDE265-COPYING and GPL-3.txt for full terms.