Scan PDFs for print-readiness issues — RGB images, low resolution, missing bleeds, wrong black buildup. Auto-fix common issues.
95% of files received from designers aren't print-ready. Prepress operators manually fix: wrong color space, missing bleeds, low-res images, wrong black buildup. Every. Single. Time.
# Check a PDF
prepress-preflight check design.pdf
# Auto-fix common issues
prepress-preflight fix design.pdf -o design_printready.pdf
# Get a print checklist
prepress-preflight checklist design.pdfgit clone https://github.com/darshd9941/prepress-preflight.git
cd prepress-preflight
pip install -e .Optional: install Ghostscript and pikepdf for full analysis:
pip install pikepdf- Detect RGB images (should be CMYK)
- Flag low-resolution images (below 300 DPI)
- Verify bleeds (0.125in / 3mm)
- Check black buildup (rich black vs default)
- Auto-fix: RGB→CMYK conversion via Ghostscript
- Generate print-readiness checklists
MIT License — see LICENSE for details.
- Python 3.8 or higher
- pip (Python package manager)
git clone https://github.com/darshd9941/prepress-preflight.git
cd prepress-preflightpip install -r requirements.txt-
Copy the example environment file:
cp .env.example .env
-
Edit .env and add your API keys:
# Required for Claude vision features ANTHROPIC_API_KEY=your-api-key-here
streamlit run app.pypython main.py --helpfrom module import MainClass
# Initialize the tool
tool = MainClass()
# Use the tool
result = tool.process("input")
print(result)- .env - Environment variables (API keys, settings)
- config.yaml - Configuration file (if applicable)
See the examples/ directory for detailed usage examples.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
See LICENSE file for details.