CompilePDF white-underbase producer — white-ink / underbase plate generation for PDFs.
Project description
compile-pdf-white-underbase
CompilePDF white / underbase producer — generates a named white-ink (or underbase / varnish / foil) separation plate for an input PDF.
Given an input PDF plus a policy describing how to derive the plate, the producer registers a named DeviceN white separation in the output PDF. White printing on transparent / dark substrates (labels, garment prints, foil-stamped artwork) needs a white plate that lays down under every printable element; screen-printing on dark fabric needs an underbase plate so the coloured inks read true. Auto-generating the plate from the existing artwork keeps it in register at every revision.
Like the other producers it is content-addressed (deterministic cache key) and
its router mounts into the central
compile-pdf app, gated by
COMPILE_PRODUCER.
Engine status: today's engine is a passthrough — it returns the input bytes verbatim with a fully-populated summary. The wire contract (request / response shape, cache-key derivation) is final so hosts can wire UI today; the underbase tracer lands in a follow-up.
Part of the CompilePDF producer family; each producer lives in its own repo and PyPI package. See compile-pdf for the orchestrator that mounts them.
Install
uv pip install compile-pdf-white-underbase
HTTP surface
Mounted under /v1/white-underbase by the host app:
POST /v1/white-underbase/apply—{ input_pdf_b64, policy? }→ the output PDF (base64), content hashes, cache key, and a generation summary.
CLI
compile-pdf-white-underbase [--policy policy.json] [--no-verify] in.pdf out.pdf
License
AGPL-3.0-or-later. Copyright © 2024–2026 Print with Synergy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file compile_pdf_white_underbase-0.1.0.tar.gz.
File metadata
- Download URL: compile_pdf_white_underbase-0.1.0.tar.gz
- Upload date:
- Size: 97.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
085658faa877e7f8f55c958810a0a013805aac5f06b06e9b641bdd2574d57660
|
|
| MD5 |
6e416d3ad43b0185711169240dca0794
|
|
| BLAKE2b-256 |
5fa6191433ea2c76b9313593df470b19ece57978412d51ebb97d3b436298069e
|
File details
Details for the file compile_pdf_white_underbase-0.1.0-py3-none-any.whl.
File metadata
- Download URL: compile_pdf_white_underbase-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63585b820e0aeed1890a347fe624ededd343658aed1ec5b387f1647e0cd89f03
|
|
| MD5 |
aa0ad0e3eb53d6b100692060aada3e94
|
|
| BLAKE2b-256 |
3a6cbfe4046d9ba1d0fce4f4d4bfe41666cc68dd9f809715f669d455844b1f39
|