/invert-pdf

A free, online, pdf colour inverter. (Perfect for printing dark PDFs.)

Primary LanguagePythonMIT LicenseMIT

logo

invert-pdf.club

A free online PDF colour inverter. (Perfect for printing dark PDFs.)

Try it online at invert-pdf.club!

Running locally

Docker (recommended)

sudo docker image build . -t invert-pdf
sudo docker run -p 8080:8080 --env PORT=8080 invert-pdf:latest

Open localhost:8080 and enjoy!

Manually from source

  1. Install ImageMagick and ghostscript from your package manager.
sudo apt install ImageMagick ghostscript
  1. (Recommended) Use a virtual environment for your python dependencies.
virtualenv venv
source venv/bin/activate
  1. Install python dependencies. (Python 3.6+)
pip install -r requirements.txt
  1. (Optional) Run the tests.
sh run_tests.sh
  1. Run the application in development mode.
python pdfinvert/main.py