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!
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!!!
If it works for your use case. Dark Reader and a Firefox PDF tab works.
Can I save it locally as an inverted pdf?
No, but you can open it locally in Firefox. You’d just have to use that as your reader. Unfortunately I don’t know if any other readers have a dark mode feature; I only discovered Dark Reader working for PDFs by accident.
thx I will look into that
SumatraPDF can… But it’s a Windows only program (run with wine, perhaps?)
zathura does this as well
Using Adobe Acrobat Reader:
- Open the PDF: Open the PDF file you want to invert in Adobe Acrobat Reader.
- Access Preferences: Go to “Edit” > “Preferences”.
- Choose Accessibility: Select “Accessibility” from the left-hand menu.
- Replace Document Colors: Check the box next to “Replace Document Colors”.
- Select Custom Color: Choose the “Custom Color” option.
- Choose Background and Text Colors: Select the desired color for the “Page Background” and “Document Text”. For a typical inverted look, choose black for the background and white for the text.
- Save: Click “OK” to save the changes.
- Save the PDF: Save the PDF file to keep the changes.
Literally the top hit on Google
As we are in [email protected] maybe OP would like to use a foss tool? You can’t be further from foss with aDoBe AcRoBaT rEaDeR
No, but if the tool works (and easily)….
There are different communities for answers like that, for general techsupport. Maybe OP asked it in a wrong place, but if it’s already here, and does not sound blatantly oftopic it should be answered in the spirit of the community.
And the answer was also wrong, OP asked how to save as inverted, not how to open inverted.
Thanks mods. /s