A free online PDF colour inverter. (Perfect for printing dark PDFs.)
Try it online at invert-pdf.club!
sudo docker image build . -t invert-pdf
sudo docker run -p 8080:8080 --env PORT=8080 invert-pdf:latest
Open localhost:8080 and enjoy!
- Install ImageMagick and ghostscript from your package manager.
sudo apt install imagemagick ghostscript
- (Recommended) Use a virtual environment for your python dependencies.
virtualenv venv
source venv/bin/activate
- Install python dependencies. (Python 3.6 )
pip install -r requirements.txt
- (Optional) Run the tests.
sh run_tests.sh
- Run the application in development mode.
python pdfinvert/main.py