Skip to main content

CompilePDF soft-proof producer — ICC/deltaE soft-proofing for PDFs.

Project description

compile-pdf-soft-proof

CompilePDF soft-proof producer — simulates an input PDF under a destination ICC profile and returns a base64-encoded simulated PDF plus a per-pixel ΔE summary that an artwork-pdf editor host paints over its canvas.

The current engine is a deterministic passthrough (the real LCMS-based simulator lands once codex-pdf publishes its colour-management surface); the wire contract under POST /v1/soft-proof/apply is final. It carries a content-addressed cache key — same input PDF + same profile pair + same options → cache hit.

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-soft-proof

HTTP surface

Mounted under /v1/soft-proof by the host app:

  • POST /v1/soft-proof/apply{ input_pdf_b64, source_icc_b64, destination_icc_b64, options? } → the simulated PDF, its sha256, the cache key, and a ΔE summary (max / avg / p95). Deterministic.

License

AGPL-3.0-or-later. Copyright © 2024–2026 Print with Synergy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compile_pdf_soft_proof-0.1.1.tar.gz (94.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compile_pdf_soft_proof-0.1.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file compile_pdf_soft_proof-0.1.1.tar.gz.

File metadata

  • Download URL: compile_pdf_soft_proof-0.1.1.tar.gz
  • Upload date:
  • Size: 94.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for compile_pdf_soft_proof-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e5497629309835107569875eac64cf311cfb5b0c8bbf6d1d7a0dc1aeaba0acb8
MD5 d61200e8243e6b19e61afaf97207d3ce
BLAKE2b-256 ac334bd94c90c71b9365558938e436d295de3f3c2e7ae1520d636fd52a05944a

See more details on using hashes here.

File details

Details for the file compile_pdf_soft_proof-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for compile_pdf_soft_proof-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5afa520d8f9799e2481930a55416a1e03b3d9a6007efb968722015234f908301
MD5 1ed82cea79248f2fab95bf896b4beab1
BLAKE2b-256 96e349bea5ab09ad008b4e5ea2fb204eb20e26638f93d5ccb1cac805f279fe8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page