# Bibliothèques de /convertir-image/

Servies par le thème, sans modification, récupérées par `python -X utf8 tools/fetch_vendor.py` depuis le registre npm (empreinte `dist.integrity` vérifiée). Spec : `docs/superpowers/specs/2026-11-24-convertir-image-design.md`.

## libheif/

- Paquet npm : `libheif-js` 1.23.5 (https://www.npmjs.com/package/libheif-js), fichiers `libheif-wasm/libheif.js`, `libheif-wasm/libheif.wasm` et `libheif-wasm/LICENSE`.
- Rôle : lire les photos HEIC dans le navigateur, quand il ne sait pas le faire lui-même (`assets/js/imgconvert-worker.js`).
- Licence : LGPL-3.0 (texte dans `libheif/LICENSE`).
- Sources : libheif-js, https://github.com/catdad-experiments/libheif-js (étiquette 1.23.5) ; sa compilation par Emscripten, https://github.com/catdad-experiments/libheif-emscripten (version v1.23.5) ; libheif, https://github.com/strukturag/libheif ; libde265, https://github.com/strukturag/libde265.

## jsquash-avif/

- Paquet npm : `@jsquash/avif` 2.1.1 (https://www.npmjs.com/package/@jsquash/avif), fichiers `codec/enc/avif_enc.js`, `codec/enc/avif_enc.wasm` (version sans multithread) et `LICENSE`.
- Rôle : écrire les AVIF dans le navigateur (`assets/js/imgconvert-avif.js`).
- Licence : Apache-2.0 (texte dans `jsquash-avif/LICENSE`).
- Sources : jSquash, https://github.com/jamsinclair/jSquash ; Squoosh, https://github.com/GoogleChromeLabs/squoosh ; libavif, https://github.com/AOMediaCodec/libavif.
