ElevenOS HEIC component source and replacement 11 November 2026 The browser loads /vendor/heic-to/1.5.2/heic-to.mjs as a separate ECMAScript module. Its bytes are identical to dist/csp/heic-to.js in heic-to 1.5.2. It is not incorporated into the proprietary application bundle. Conversion runs on the device. No photo is sent to a conversion service. Components and original source heic-to 1.5.2 by Hopper Gee: LGPL version 3. Git commit f37af866f9aa6212ddc84b67a279c9f2386aba4f https://github.com/hoppergee/heic-to/tree/f37af866f9aa6212ddc84b67a279c9f2386aba4f The adjacent heic-to-1.5.2.tgz is the exact npm source package. It contains src/, esbuild.mjs, LICENSE and the original distribution. The separately provided package-lock.json comes from the pinned Git commit above; npm archives omit this file. Its SHA-256 is included in sources.json. libheif 1.22.2 by struktur AG and contributors, under its LGPL terms. Adjacent source: libheif-1.22.2.tar.gz, including build-emscripten.sh. https://github.com/strukturag/libheif/tree/v1.22.2 libde265 1.0.16 by struktur AG and contributors, under its LGPL terms. Adjacent source: libde265-1.0.16.tar.gz. https://github.com/strukturag/libde265/releases/tag/v1.0.16 sources.json records download URLs and SHA-256 checksums for each archive and the served module. Copyright notices and any additional file-specific license terms are preserved inside the archives. Full LGPL and accompanying GPL texts are available through /notices. No warranty is provided by these components under their respective licenses. Rebuilding the JavaScript wrapper Extract heic-to-1.5.2.tgz and copy the adjacent package-lock.json into the extracted package directory. Enter that directory, run npm ci --ignore-scripts, then npm run build using Node.js. Download the lockfile from: /vendor/heic-to/1.5.2/package-lock.json The output used by ElevenOS is dist/csp/heic-to.js Copy that output to a file named heic-to.mjs. The supplied source includes src/lib/libheif-without-unsafe-eval.js, the upstream compiled decoder. No ElevenOS application source or build is needed to rebuild this module. This wrapper rebuild was tested with Node.js 24 on 11 November 2026 and produced the identical SHA-256 recorded for the served module in sources.json. Rebuilding or modifying the decoder The first line of src/lib/libheif-without-unsafe-eval.js identifies libheif 1.22.2, LIBDE265_VERSION=1.0.16 and USE_UNSAFE_EVAL=0. Obtain the included C/C++ sources. Follow the heic-to README and libheif build-emscripten.sh with Emscripten, CMake, make, pkg-config and the stated build prerequisites. The upstream command, run from a buildjs directory under libheif, is: LIBDE265_VERSION=1.0.16 USE_UNSAFE_EVAL=0 USE_WASM=0 ../build-emscripten.sh .. Use the included libde265 archive for that version if the build script would download it. Follow the upstream README's llvm-nm path adjustment when needed on macOS. The script defaults other optional codecs off. Replace src/lib/libheif-without-unsafe-eval.js with the rebuilt libheif.js, then rebuild heic-to with npm run build. Preserve the CSP-safe interface. The original upstream compiler environment has not been independently reproduced byte for byte in this release; the unmodified upstream module and sources are provided here rather than a claim of reproducible output. Using a modified version in your own browser The application imports the module URL above without an integrity pin. It expects the heicTo export, called with { blob, type: "bitmap" }, to return a Promise with width, height and close(). A compatible modified module can replace this resource without changing the application bundle. For example, in Chromium DevTools open Sources, enable Local Overrides in a local folder, and grant the browser access to that folder. In Network, find the heic-to.mjs request and save/override its response content with your rebuilt module. Disable the network cache and reload the page to clear the module cache. The modified component is then used in your own browser. Disable the override to restore the hosted module. Equivalent local response-replacement tools can also be used. Use only code you trust with your photos. This does not grant access to other users or server data. ElevenOS terms permit modification for your own use and reverse engineering for debugging those modifications as required by the LGPL. Questions about missing source or these notices can be sent to start@elevenchase.com.