Open-source licenses

Private Office Tools uses these open-source libraries. Thank you to their authors! For each one you can see what we use it for, its license, and where to find its source code.

pdf.js (Mozilla)

Used for
PDF to JPG, page previews, protected PDFs
License
Apache-2.0 · Full license text
Source code
https://github.com/mozilla/pdf.js

Includes decoders for scanned documents (OpenJPEG, JBIG2) and color profiles (qcms); their license files are in /pdfjs/wasm/.

pdf-lib

Used for
Merge, split, delete pages, compress, JPG to PDF
License
MIT · Full license text
Source code
https://github.com/Hopding/pdf-lib

libheif (libheif-js), with libde265

Used for
HEIC to JPG, when the browser can't read HEIC by itself
License
LGPL-3.0 · Full license text
Source code
https://github.com/strukturag/libheif
https://github.com/catdad-experiments/libheif-js

This library is a separate file (libheif.wasm) that you may replace with your own build, as the LGPL allows.

jSquash WebP encoder, with libwebp (Google)

Used for
Creating WebP images in browsers that can't do it themselves (Safari, iPhone)
License
Apache-2.0 (jSquash), BSD-3-Clause (libwebp) · Full license text · libwebp
Source code
https://github.com/jamsinclair/jSquash
https://chromium.googlesource.com/webm/libwebp

Also includes wasm-feature-detect (Apache-2.0), which checks which WebAssembly features the browser has.

Inter (font)

Used for
The fonts of this website
License
SIL Open Font License 1.1 · Full license text
Source code
https://github.com/rsms/inter

Manrope (font)

Used for
The fonts of this website
License
SIL Open Font License 1.1 · Full license text
Source code
https://github.com/sharanda/manrope