HEIC/HEIF decoder: libheif (WebAssembly build) ============================================== This site opens HEIC/HEIF photos (iPhone) in your browser with libheif, a library licensed under the GNU Lesser General Public License, version 3 (LGPL-3.0). The full license text is in LICENSE-libheif.txt, next to this file. Files (served unmodified, exactly as published in the npm package libheif-js@1.23.5, folder libheif-wasm/): - libheif.js Emscripten loader for the library - libheif.wasm libheif 1.23.5 compiled to WebAssembly, with libde265 1.0.15 (HEVC decoder, LGPL-3.0) linked in The site's own code only loads these two files at runtime, from this folder, inside a Web Worker, and only when you pick a HEIC photo. They are not combined with or compiled into the site's own JavaScript, so you can replace them with your own build of libheif (same file names, compatible JavaScript API) and the site will use it. Source code (Corresponding Source): - libheif: https://github.com/strukturag/libheif (tag v1.23.5 / commit 413e2a8) - libde265: https://github.com/strukturag/libde265/releases/tag/v1.0.15 - Build scripts used for this WebAssembly build (unmodified libheif build-emscripten.sh): https://github.com/catdad-experiments/libheif-emscripten (tag v1.23.5) - npm package: https://www.npmjs.com/package/libheif-js/v/1.23.5 (https://github.com/catdad-experiments/libheif-js) Your photos never leave your device: the decoder runs in your browser.