ProjectReleased

spotpdf

A fail-closed CLI and Python API for safe spot-colour operations in vector PDFs.

  • Python
  • pikepdf
  • PDF
  • CLI
A synthetic PDF test page before spot-colour conversion
Synthetic test data rather than production files.

Context

Spot colours in production PDFs are structurally complex. A seemingly simple replacement can damage content when unsupported constructs are silently skipped.

Motivation

This is where my print engineering background directly meets software: automation is only useful when it stops safely in uncertain cases.

Approach

The CLI and Python API inspect, rename, convert or remove supported spot colours without rasterising pages. Ambiguous cases fail deliberately.

Features

  • Inspect and list spot colours in vector PDFs
  • Rename, convert or remove supported colours
  • Use through a CLI or Python API
  • Fail-closed behaviour for ambiguous constructs

Current state

spotpdf is published as a beta under the MIT licence on PyPI and GitHub.