Legal
Open-source notices
The application form can convert HEIC/HEIF photos (the format many phones use) to JPEG in your browser. It does that with the open-source components listed here. This page covers the software in that photo converter.
1. Components
heic-to
The browser glue that runs the decoder in a Web Worker and turns the decoded image into a JPEG.
Licence: GNU Lesser General Public License v3.0 or (at your option) any later version (LGPL-3.0-or-later)
Copyright: The package carries no copyright line. Its package.json names the author as Hopper Gee; its LICENSE file holds the LGPL notice and the LGPL-3.0 text.
libheif
The HEIF/HEIC decoder. heic-to ships it prebuilt as JavaScript (asm.js, no WebAssembly), built with libheif’s build-emscripten.sh with USE_UNSAFE_EVAL=0, USE_WASM=0 and LIBDE265_VERSION=1.0.16, as the build note in the package and heic-to’s README state.
Licence: GNU Lesser General Public License v3.0 or (at your option) any later version (LGPL-3.0-or-later)
Copyright: Copyright (c) 2017-2025 Dirk Farin <[email protected]> (from the upstream source files at v1.23.5; the package does not reproduce it).
libde265
The H.265 (HEVC) video decoder that libheif uses for the image data, compiled into the same file.
Licence: GNU Lesser General Public License v3.0 or (at your option) any later version (LGPL-3.0-or-later)
Copyright: Copyright (c) 2013-2014 struktur AG, Dirk Farin; Copyright (c) 2013-2024 Dirk Farin (from the upstream source files and README at v1.0.16; the package does not reproduce it).
Emscripten runtime support code
The compiler that turned libheif and libde265 into JavaScript adds its own runtime code to the build.
Licence: MIT or University of Illinois/NCSA Open Source License (Emscripten is dual-licensed)
Copyright: Copyright the Emscripten authors (see the AUTHORS file upstream; the package does not reproduce a notice).
2. How the LGPL libraries are used
We use heic-to 1.6.5 as published on npm, through its heic-to/csp entry, which contains the prebuilt libheif and libde265 JavaScript build that the package ships. We do not change their source code.
Our build tool (Next.js with webpack) puts that entry into its own separate script file. It wraps and re-minifies the code in the process, so the file we serve is not byte-for-byte the file in the package. Your browser downloads this script only when you pick a HEIC or HEIF photo on the application form, and it is not part of the site’s other scripts. The decoder runs in your browser; your photo is converted on your device before it is uploaded.
3. Getting the source code, or using your own build
The source code of each component, at the exact version we use, is at the links above. heic-to’s repository at tag v1.6.5 holds its own source code and the steps it uses to build libheif and libde265.
Because the converter is a separate script file, you can replace it in your own browser with a build you made from those sources, for example with your browser’s developer tools (local overrides). A replacement must keep the same interface and the wrapper our build tool adds.
4. Licence texts
- GNU Lesser General Public License, version 3
- GNU General Public License, version 3 (the LGPL adds to its terms)