Licences
Chaff is open source under the MIT licence. It includes the open source software below. Each part keeps its own licence.
The HEIC reader is used under the GNU Lesser General Public Licence, version 3. You may replace it with your own build: its source is linked below, and the app loads it as a separate file.
heic-to, with libheif and libde265
Opens HEIC photos in browsers that cannot. Loaded only when needed, as its own unmodified file. Licence: LGPL-3.0-or-later.
PDF.js
Reads PDF files. Licence: Apache-2.0.
pdf-lib (Cantoo fork) and fflate
Writes the PDF copies. Licence: MIT.
Preact and Preact Signals
Draws the app. Licence: MIT.
Inter
The watermark typeface. Licence: SIL Open Font Licence 1.1.