HEIC decoder used by xhdr.app Browsers without a built-in HEIC decoder (Chrome, Edge, Firefox) decode HEIC/HEIF photos on the device with this library. Safari decodes HEIC itself and never loads it. libheif.js is libheif-js 1.23.5 (npm, LGPL-3.0), file libheif/libheif.js, with one line appended so it loads as an ES module: export default libheif; upstream file sha256 2256ffee78039843ac47581b731bf837e4a29f08ffa91b7409caebd89a6968ea this file sha256 c0b106fcdcdde08bd0409aea4c3d576ef73b221561da0f6333d76e40a76cc4c9 npm tarball https://registry.npmjs.org/libheif-js/-/libheif-js-1.23.5.tgz tarball integrity sha512-umXZPthnWZtF3iG/5mQG+AZ2V6i0UeYpo3z2CkggTEgL8dKmIIwJT6TDuAMuabXa1yTW8uJ1ZAgR+CxNTklYYw== It is compiled to plain JavaScript with Emscripten (no WebAssembly) from: libheif 1.23.5 LGPL-3.0 https://github.com/strukturag/libheif (tag v1.23.5) libde265 1.0.15 LGPL-3.0 https://github.com/strukturag/libde265 (tag v1.0.15) build https://github.com/catdad-experiments/libheif-emscripten (release v1.23.5) package https://github.com/catdad-experiments/libheif-js LICENSE holds the license texts: GNU LGPL v3.0 and the GNU GPL v3.0 it builds on. The site loads libheif.js as a separate file, so it can be replaced with another build of the same library.