HEIC and HEIF decoding (LGPL-3.0)
To open HEIC and HEIF photos (for example from an iPhone) in browsers that cannot read them natively, PixelHone loads libheif-js 1.23.5, an Emscripten build of libheif. Both are licensed under the GNU Lesser General Public License, version 3 (LGPL-3.0).
libheif-js is used unmodified. It is loaded on demand as its own separate file, only when you open a HEIC photo, and is not merged into the rest of the site. The complete source code is available from the two links above, and the licence text from gnu.org.
AVIF encoding (Apache-2.0)
To save images as AVIF, PixelHone loads jSquash AVIF (@jsquash/avif 2.1.1), a WebAssembly build of the libavif encoder repackaged from the Squoosh app. It is licensed under the Apache License 2.0.
Background remover (Apache-2.0 and MIT)
- Transformers.js (Apache-2.0) runs the model in your browser.
- ONNX Runtime Web (MIT) executes it.
- The BiRefNet lite model (MIT), in the WebGPU-ready export Wattsey/birefnet-lite-512-webgpu.
Image upscaler (Apache-2.0 and MIT)
- Transformers.js (Apache-2.0) runs the models in your browser, and ONNX Runtime Web (MIT) executes them.
- Swin2SR (Apache-2.0), the super-resolution model family, with the weights caidas/swin2SR-lightweight-x2-64 and caidas/swin2SR-realworld-sr-x4-64-bsrgan-psnr (Apache-2.0).
- The ONNX conversions by Xenova that the browser downloads: Xenova/swin2SR-lightweight-x2-64 and Xenova/swin2SR-realworld-sr-x4-64-bsrgan-psnr.
Fonts (SIL OFL 1.1)
The Poppins, Geist and IBM Plex Sans Arabic typefaces are used under the SIL Open Font License 1.1.