Open-source components
The calculator runs entirely in your browser. Its own code is in index.html, unminified; use your browser's View Source or download it from this site. Because it runs Ghostscript, which is licensed under the GNU Affero General Public License, the calculator as a whole is offered under the same license (AGPL-3.0-or-later), and its complete source is the files served on this site.
Ghostscript (GhostPDL) — AGPL-3.0-or-later
Renders PDF artwork into ink separations. WebAssembly build from @okathira/ghostpdl-wasm 1.1.0, built from Artifex GhostPDL with Emscripten.
- Build source and scripts: github.com/okathira/ghostpdl-wasm (version 1.1.0)
- Upstream Ghostscript source: github.com/ArtifexSoftware/ghostpdl · ghostscript.com
- Files here:
gs-wasm.js(the unmodifiedgs.wasmbinary, base64-encoded) andgs-loader.js(the package'sgs.jswith two changes so it loads as a classic script:import.meta.urlreplaced byself.location.href, andexport default Modulereplaced byself.GhostscriptModule = Module). - License text: LICENSE-AGPL-3.0.txt
pdf-lib 1.17.1 — MIT
Reads PDF layers and spot colors. github.com/Hopding/pdf-lib
UTIF.js 3.1.0 — MIT
Decodes TIFF separations. github.com/photopea/UTIF.js
pako 1.0.11 — MIT and Zlib
Decompresses Deflate-compressed TIFFs. github.com/nodeca/pako