Print Color Preflight
Profile-aware PDF color preflight and RGB-to-CMYK conversion planning.
The problem it solves
Profile-aware PDF color preflight and RGB-to-CMYK conversion planning.
Who Print Color Preflight is for
- People who need a small, purpose-built utility instead of a broad platform.
- Users working with PDF, CMYK, ICC profiles who want the documented v2.0.0 behavior.
- People who prefer an open-source release with visible limitations, source, and license terms.
Intended result
Profile-aware PDF color preflight and RGB-to-CMYK conversion planning.
This summary is reconciled from the current catalog and repository documentation.
Features in v2.0.0
Capabilities below come from the current project README and release documentation.
Inspect PDF page count, PDF version, device and ICC-based color spaces, output intents, spot colors, transparency, overprint, font embedding, and TrimBox coverage.
Emit stable JSON for automation and a self-contained HTML review report.
Inspect ICC headers and reject malformed or non-CMYK destination profiles.
Preview a conversion plan before modifying a file.
Convert through a separately installed Ghostscript executable using an explicit profile, rendering intent, black-point compensation, and black preservation policy.
Work through a temporary output, parse the result, embed the chosen profile as the output intent, and move the file into place only after postflight succeeds.
Verified examples
Screenshots are shown only when the current README references a local source image. Otherwise, repository example files are linked directly.
Platforms and implementation
The public release claims only the cataloged platforms and technologies.
Supported platforms
- Windows
- macOS
- Linux
Built with
- Python
- pikepdf
- Pillow
- Ghostscript
What changed in v2.0.0
- Require Python 3.11+, Pillow 13 and current pikepdf while retaining six supported OS/Python test cells
- Reject malformed PDF metadata before parser page repair and return actionable errors
- Guard report destinations and publish validated conversions exclusively with source/profile stability checks
- Validate ICC header/tag bounds and bound TAC raster memory/pixel work
- Verify installed artifacts against current upstream Ghostscript 10.08 on Linux and licensed test profile; install complete docs/examples
- Pin release actions and require tag, runtime and built-package identity plus complete quality/audit checks and exact payload checksums
- Close raster image resources before temporary-file cleanup, including the retained-handle Windows regression
Changelog
Release notes from the canonical v2.0.0 source tag.
- Close raster storage explicitly before temporary cleanup and declare the backend tools used by installed-sdist tests.
- Gate tagged artifacts on full quality checks and package identity, pin maintained actions and emit exact workflow SHA256SUMS.
- Reject malformed PDF metadata with actionable errors before pikepdf page repair; retain input bytes and refuse reports on inspection failure.
- Reconcile current installation/support instructions and document separately licensed upstream Ghostscript 10.08.0 Linux qualification.
- Require Python 3.11+, Pillow 13 and current pikepdf, retaining six native combinations.
- Refuse report/input/profile aliases and existing or dangling report destinations.
- Publish validated conversion output exclusively and preserve observed concurrent changes.
- Fingerprint source/profile stability and strengthen ICC tag-table bounds.
- Bound TAC raster geometry and traverse pixels without full pixel lists.
- Retain all native integration assertions using isolated installed targets on noexec-safe interpreters.
All notable changes are documented here. This project follows Semantic Versioning.
- Attach deterministic page, PDF object and resource-path references to existing RGB, spot-color, font, transparency and overprint findings.
- Inspect inherited and shared resources on every associated page, terminate recursive resource graphs, and inspect color operators in Form XObjects.
- Terminate Form cycles with direct resources and avoid rescanning inherited dictionaries for resource-less Forms.
- Retain document-level findings and the existing Ghostscript conversion and proofing boundaries.
- PDF preflight for device and ICC-based color spaces, output intents, spot colors, transparency, overprint, font embedding, and page TrimBox coverage.
- ICC header inspection and validation for CMYK output and DeviceLink profiles.
- Reviewable conversion planning with explicit rendering, black-point, and black-preservation decisions.
- Ghostscript-backed CMYK conversion through a temporary file with postflight validation and SHA-256 recording.
- Destination-profile embedding as an output intent without an unsupported claim of PDF/X certification.
- Raster total-area-coverage estimation with configurable DPI and ink limit.
- Terminal, JSON, and self-contained HTML reports.
- Cross-platform Python packaging, automated tests, security scanning, and real Ghostscript CI coverage.
Quick start
The shortest documented path into the current release.
Before running these source commands, download the v2.0.0 source archive, extract it, and open a terminal in the extracted project folder containing README.md. Follow the tagged README for required runtimes and any platform-specific setup.
Requirements:
- Python 3.11 or newer.
- Ghostscript for conversion and ink analysis. Inspection and planning do not require Ghostscript.
- A printer, paper, or print-standard CMYK ICC profile supplied by your printer or another authorized source.
python -m pip install "print-color-preflight @ https://github.com/loganpendragonmultiverse/print-color-preflight/releases/download/v2.0.0/print_color_preflight-2.0.0-py3-none-any.whl"
print-color-preflight inspect artwork.pdf --html preflight.html
print-color-preflight plan artwork.pdf --profile printer.icc --intent perceptual
print-color-preflight convert artwork.pdf artwork-cmyk.pdf --profile printer.icc --json conversion.json
print-color-preflight ink artwork-cmyk.pdf --limit 300 --json ink.jsonThe project is not currently published on PyPI; the command above installs the verified GitHub release wheel. When running from a repository checkout, use python -m pip install . instead. Set PRINT_COLOR_GHOSTSCRIPT when Ghostscript is not on PATH.
Current limitations
These boundaries are part of the product and prevent the page from implying unverified capability.
- External Ghostscript and ICC profiles remain separately installed/licensed; current upstream or vendor-maintained patched builds are required
- Native Ghostscript 10.08 qualification is Linux-only; six Python matrix cells do not establish native engine behavior on every OS
- Static preflight and sampled TAC do not certify PDF/X, physical printing accuracy or a printer-approved profile
- Pillow 13 has a conditional upstream Arrow-export advisory; shipped app does not export Arrow, and source-specific applicability is independently reviewed; audit output is not a blanket vulnerability-free claim
- Observed collision/source-change guards are not a hostile concurrent-filesystem sandbox
Privacy and licensing
Review the actual data boundary before using a tool with sensitive inputs.
Privacy and safety
All processing is local. The tool contains no analytics, accounts, network uploads, or profile downloads. Ghostscript is started with safer mode enabled, but PDFs and ICC profiles remain untrusted inputs; use current patched dependencies and avoid processing files from unknown sources on sensitive machines. See SECURITY.md.
License and release
Print Color Preflight is published under MIT. The current cataloged release is v2.0.0, published 2026-10-21.
Related projects
Related projects are selected deterministically from shared catalog tags, category, and implementation technologies—not popularity or paid placement.
Print Color Preflight v2.0.0
Use the tagged release for downloads and release notes. Use the repository for source, issues, contribution guidance, security reporting, and complete documentation.
Page source: current Forge catalog plus README and CHANGELOG from the canonical GitHub release tag. Fingerprint: b9be10fa3a022c7e.