Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF to Blueprint Converter

Converts black text in PDFs to blue for better printing.

Prerequisites

The pdf2image library requires poppler to be installed on your system:

  • macOS: brew install poppler
  • Linux: sudo apt-get install poppler-utils

Setup

  1. Navigate to the project directory:
  2. Activate the virtual environment:
source venv/bin/activate
  1. Install dependencies (if not already installed):
pip install -r requirements.txt

Usage

Basic usage (outputs to input_blueprint.pdf in the same directory):

python convert_pdf_color.py <your-pdf-file>

Example (tested):

python convert_pdf_color.py example.pdf
# Output: example_blueprint.pdf

Custom output path:

python convert_pdf_color.py /path/to/document.pdf -o /path/to/output.pdf

Tested Configuration

  • ✅ Successfully tested with example.pdf
  • ✅ Output: example_blueprint.pdf
  • ✅ Python 3.11 with virtual environment
  • ✅ Dependencies: pdf2image, Pillow, numpy

About

printer black board broken make use of color print with blue

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages