This Python tool inverts the colors of all pages in a PDF using the pypdfium2
library. It's useful for creating dark-mode versions of PDFs, which are easier on the eyes when reading at night or in low-light environments.
- Inverts all page colors of a PDF
- Preserves the original page layout and content
- Fast and efficient with
pypdfium2
- CLI-friendly usage
Install the required dependency:
pip install pypdfium2