Is there any way I can convert my PDF into a dark mode version without converting it into images first and invert that image and combine them, instead simply invert every element in the PDF and make it dark (preserving the original text and hyperlinks). appreciate any help!
You must log in or register to comment.
I don’t remember where I got this, I just jotted it down in my notes.
gs -o inverted.pdf -sDEVICE=pdfwrite -c “{1 exch sub}{1 exch sub}{1 exch sub}{1 exch sub} setcolortransfer” -f original.pdf
Edit: this might well be the original post I found: https://stackoverflow.com/a/30287097
thx a lot!!!
deleted by creator