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.0.tar.gz (94.4 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.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compile_pdf_soft_proof-0.1.0.tar.gz
  • Upload date:
  • Size: 94.4 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.0.tar.gz
Algorithm Hash digest
SHA256 777bf9515eeea8a9fa2b77a733289b4cc2dc4737d7e9782ac9188be13e38e844
MD5 99ae1e1fdeab817e44b9532526ecc2b6
BLAKE2b-256 152ec9978291b77b5f670f3cceed1a0f1607e00ae535b9c41e9af6a0174388e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compile_pdf_soft_proof-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f3adfc81712782f856e11505c32f774983bd813722656eacc19edb17690d360
MD5 6edc14bdecd342fedbe63269fb095be8
BLAKE2b-256 113d3b892082d27ce67159ab952744ed8c7fd4907fefd5d980ecc0eff126c170

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