Sign in繁中EN

Third-party licence notices

This list covers third-party software delivered to your browser, including code bundled into our scripts, generated CSS from tailwindcss, and the separately loaded HEIC/HEIF decoder.

Separately loaded HEIC/HEIF decoder

The unmodified upstream file is libheif-bundle.mjs — libheif-js 1.23.5.

This file loads only in your browser, only when you choose a HEIC/HEIF photo. It is loaded as its own separate file and is neither bundled into nor modified with our code.

Separate file: /vendor/libheif-js/1.23.5/libheif-bundle.mjs

Shipped bundle SHA-256: 095194187be00d3e36335b8ad7f5552d70655e5e2159486d7d36cd4daa47bba9

Upstream prebuilt release: https://github.com/catdad-experiments/libheif-emscripten/releases/download/v1.23.5/libheif.tar.gz

SHA-256: 0fa8629a75344389f0da842f659cc952ecaa39cde400eed42b80e4a82a3af778

Embedded wasm SHA-256: 184d3d20f8323877f13e9f5254f9c6a0ce272c9a3a2f823b0b2bcd2ee9f73f80

We provide upstream source links, preserved build inputs, a written source offer and replacement instructions in connection with LGPL-3.0 §4. The shipped wasm is byte-identical to the upstream prebuilt release. We reproduced the shipped bundle exactly from that release using libheif-js scripts/install.js. We have not byte-compared an Emscripten rebuild from source.

To request the complete corresponding source code, email service@condola.app. This written offer is available to anyone and remains valid for at least three years from our last distribution of the relevant decoder version.

How to replace the decoder

  1. Get the upstream source archives and build inputs from these links, or request them by email using the written offer above: Build instructions and preserved build inputs
  2. Produce a modified libheif.tar.gz: rebuild libheif with Emscripten following BUILD.md, or, for small changes, edit libheif-wasm/libheif.js or libheif-wasm/libheif.wasm inside the extracted prebuilt archive. Repack it with the same libheif and libheif-wasm top directories.
  3. In the libheif-js 1.23.5 source directory with its build dependencies installed, run node scripts/install.js <your libheif.tar.gz>, supplying the absolute path of your archive. Use the resulting libheif-wasm/libheif-bundle.mjs.
  4. The replacement must be an ES module whose default export is a factory returning a libheif module with .ready and HeifDecoder, compatible with the libheif-js 1.23.5 API.
  5. To use it with this site in Chrome or Edge, open DevTools → Sources → Overrides and override the following asset with your file, or serve it through a local proxy. Then reload the page and choose a HEIC photo: /vendor/libheif-js/1.23.5/libheif-bundle.mjs

    The application applies no runtime integrity or hash check to this file. The hashes above identify the shipped original and its embedded wasm.

We have tested this procedure with a modified build of the decoder.

Browser packages