Licenses
The production install is checked for GPL and AGPL dependencies. LGPL is allowed only as a separate file, which is how libheif is served. The build fails if a dependency is GPL or AGPL with no permissive alternative.
Swap the HEIC decoder
- Build a single-threaded libheif wasm without x264 or x265. SharedArrayBuffer is not required.
- Replace
/wasm/libheif/libheif.wasm. Replacelibheif.jsonly if the glue must match. - Keep the file names. The worker loads them from that path and does not bundle them.
- License texts are in that folder. Upstream source is linked below. Package version: 1.23.5.
Libraries inside the wasm
-
libheif · LGPL-3.0
Shipped unmodified as /wasm/libheif/libheif.wasm and libheif.js from libheif-js. Replace those filenames to swap the build.
https://github.com/strukturag/libheif -
libde265 · LGPL-3.0
HEVC decoder linked inside the libheif wasm. Not a separate download.
https://github.com/strukturag/libde265 -
dav1d · BSD-2-Clause
AV1 decoder linked inside the same wasm. This site’s pages do not convert AVIF yet.
https://code.videolan.org/videolan/dav1d
npm packages
- @emnapi/runtime 1.11.3 · MIT · source
- @huggingface/jinja 0.5.10 · MIT · source
- @huggingface/transformers 3.8.1 · Apache-2.0 · source
- @img/colour 1.1.0 · MIT · source
- @img/sharp-libvips-linux-x64 1.2.4 · LGPL-3.0-or-later · source
- @img/sharp-libvips-linuxmusl-x64 1.2.4 · LGPL-3.0-or-later · source
- @img/sharp-linux-x64 0.34.5 · Apache-2.0 · source
- @img/sharp-linuxmusl-x64 0.34.5 · Apache-2.0 · source
- @img/sharp-wasm32 0.35.5 · Apache-2.0 AND LGPL-3.0-or-later AND MIT · source
- @isaacs/fs-minipass 4.0.1 · ISC · source
- @mediabunny/aac-encoder 1.62.1 · MPL-2.0 · source
- @mediabunny/mp3-encoder 1.62.1 · MPL-2.0 · source
- @napi-rs/canvas 1.0.11 · MIT · source
- @napi-rs/canvas-linux-x64-gnu 1.0.11 · MIT · source
- @napi-rs/canvas-linux-x64-musl 1.0.11 · MIT · source
- @pdf-lib/standard-fonts 1.0.0 · MIT · source
- @pdf-lib/upng 1.0.1 · MIT · source
- @protobufjs/aspromise 1.1.2 · BSD-3-Clause · source
- @protobufjs/base64 1.1.2 · BSD-3-Clause · source
- @protobufjs/codegen 2.0.5 · BSD-3-Clause · source
- @protobufjs/eventemitter 1.1.1 · BSD-3-Clause · source
- @protobufjs/fetch 1.1.1 · BSD-3-Clause · source
- @protobufjs/float 1.0.2 · BSD-3-Clause · source
- @protobufjs/path 1.1.2 · BSD-3-Clause · source
- @protobufjs/pool 1.1.0 · BSD-3-Clause · source
- @protobufjs/utf8 1.1.2 · BSD-3-Clause · source
- @types/dom-mediacapture-transform 0.1.12 · MIT · source
- @types/dom-webcodecs 0.1.13 · MIT · source
- @types/node 20.19.43 · MIT · source
- boolean 3.2.0 · MIT · source
- chownr 3.0.0 · BlueOak-1.0.0 · source
- define-data-property 1.1.4 · MIT · source
- define-properties 1.2.1 · MIT · source
- detect-libc 2.1.2 · Apache-2.0 · source
- detect-node 2.1.0 · MIT · source
- es-define-property 1.0.1 · MIT · source
- es-errors 1.3.0 · MIT · source
- es6-error 4.1.1 · MIT · source
- escape-string-regexp 4.0.0 · MIT · source
- exifr 7.1.3 · MIT · source
- fflate 0.8.3 · MIT · source
- flatbuffers 25.9.23 · Apache-2.0 · source
- gifenc 1.0.3 · MIT · source
- global-agent 3.0.0 · BSD-3-Clause · source
- globalthis 1.0.4 · MIT · source
- gopd 1.2.0 · MIT · source
- guid-typescript 1.0.9 · ISC · source
- has-property-descriptors 1.0.2 · MIT · source
- json-stringify-safe 5.0.1 · ISC · source
- libheif-js 1.23.5 · LGPL-3.0 · source
- long 5.3.2 · Apache-2.0 · source
- matcher 3.0.0 · MIT · source
- mediabunny 1.62.1 · MPL-2.0 · source
- minipass 7.1.3 · BlueOak-1.0.0 · source
- minizlib 3.1.0 · MIT · source
- object-keys 1.1.1 · MIT · source
- onnxruntime-common 1.21.0 · MIT · source
- onnxruntime-common 1.22.0-dev.20250409-89f8206ba4 · MIT · source
- onnxruntime-node 1.21.0 · MIT · source
- onnxruntime-web 1.22.0-dev.20250409-89f8206ba4 · MIT · source
- pako 1.0.11 · (MIT AND Zlib) · source
- pdf-lib 1.17.1 · MIT · source
- pdfjs-dist 6.4.299 · Apache-2.0 · source
- piexifjs 1.0.6 · MIT · source
- platform 1.3.6 · MIT · source
- preact 10.29.8 · MIT · source
- preact-render-to-string 6.8.1 · MIT · source
- protobufjs 7.6.6 · BSD-3-Clause · source
- roarr 2.15.4 · BSD-3-Clause · source
- semver 7.8.5 · ISC · source
- semver-compare 1.0.0 · MIT · source
- serialize-error 7.0.1 · MIT · source
- sharp 0.34.5 · Apache-2.0 · source
- sprintf-js 1.1.3 · BSD-3-Clause · source
- tar 7.5.22 · BlueOak-1.0.0 · source
- tslib 1.14.1 · 0BSD · source
- tslib 2.8.1 · 0BSD · source
- type-fest 0.13.1 · (MIT OR CC0-1.0) · source
- undici-types 6.21.0 · MIT · source
- yallist 5.0.0 · BlueOak-1.0.0 · source