Need help with pdfinverter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

154 Stars 7 Forks 64 Commits 0 Opened issues


darken (or lighten) a PDF

Services available


Need anything else?

Contributors list

PDFINVERTER - darken (or lighten) a PDF

PDFInverter (GUI and CLI) will create a new PDF at the specified location from a source PDF. All colors will be inverted (original shown on left):


Unfortunately page links are not preserved, but this program will darken PDFs making them suitable for night reading.

A 2-3 page PDF will invert very quickly. However a 400 page PDF may take 3-4 minutes.

This project should build on any platform with ImageMagick bindings for Golang. export CGOCFLAGSALLOW='-Xpreprocessor' may need to be executed to run/build.

The GUI is developed with Golang QT bindings: example2

go get and run/build yourself:
go get
command-line usage:
# Required
-i     input PDF file path
-o     output PDF file path

Note:  If no command line arguments are provided, the GUI version will open.

This project was developed on macOS Big Sur 11.0.1

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.