Open-source licenses

Cropmat is built with these open-source libraries. They are served unmodified from this site, so the tools also work offline. Each library's license text is published next to its file under /vendor/. Libraries under the MPL-2.0 or LGPL are used as separate, unchanged files; their source code is available at the links below.

LibraryLicenseUsed for
pdf-lib 1.17.1MITMerging, splitting, rotating and reordering PDF pages
PDF.js (pdfjs-dist) 6.4.299Apache-2.0Showing PDF pages and turning them into images
fflate 0.8.2MITPacking several result files into one ZIP
QPDF (qpdf-wasm build) 0.3.0Apache-2.0 (QPDF), ISC (wasm build)Optimising PDF file structure when compressing
jSquash JPEG (MozJPEG) 1.6.0Apache-2.0Re-encoding images inside PDFs
Mammoth 1.13.0BSD-2-ClauseReading Word (.docx) files
docx 9.12.0MITCreating Word (.docx) files
jsPDF 4.2.1MITCreating PDF files from documents
heic2any (includes libheif, LGPL-3.0) 0.0.4MIT; bundled libheif LGPL-3.0Opening iPhone HEIC photos
QR Code Styling 1.9.2MITMaking QR codes
Signature Pad 5.1.4MITDrawing signatures
lamejs (LAME MP3 encoder) 1.2.1LGPL-3.0Saving audio as MP3 (separate, unmodified file)
Tesseract.js 7.0.0Apache-2.0Reading text from images (OCR)
Tesseract OCR engine (tesseract.js-core) 7.0.0Apache-2.0OCR engine in WebAssembly
Tesseract English and Urdu language data (tessdata_best int) 1.0.0Apache-2.0 (Tesseract data), MIT (package)English and Urdu text recognition
Transformers.js 4.3.2Apache-2.0Running AI models in the browser (background removal)
ONNX Runtime Web 1.31.0-dev.20260914-8d85527a0MITAI model engine in WebAssembly
MODNet model (Xenova/modnet) Apache-2.0Fast background removal for people (downloaded from Hugging Face)
Mediabunny 1.65.0MPL-2.0Reading audio from video files (separate, unmodified file; source at the link)
TensorFlow.js 4.22.0Apache-2.0Running the image upscaling model
UpscalerJS 1.0.0MITImage upscaling
ESRGAN slim models (UpscalerJS) 1.0.0MIT2x and 4x upscaling models
TOAST UI Image Editor (includes fabric.js 4.6.0, MIT) 3.15.3MITPhoto editor
TOAST UI Color Picker 2.2.8MITColour picker in the photo editor
Noto Nastaliq Urdu font 5.3.0OFL-1.1Urdu text in Nastaliq style
Noto Naskh Arabic font 5.3.0OFL-1.1Urdu text in Naskh style
Bricolage Grotesque font 5.3.0OFL-1.1Headings across the site