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!

  • @[email protected]
    link
    fedilink
    21
    edit-2
    2 days ago

    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

  • @[email protected]
    link
    fedilink
    4
    edit-2
    4 days ago

    Using Adobe Acrobat Reader:

    1. Open the PDF: Open the PDF file you want to invert in Adobe Acrobat Reader.
    2. Access Preferences: Go to “Edit” > “Preferences”.
    3. Choose Accessibility: Select “Accessibility” from the left-hand menu.
    4. Replace Document Colors: Check the box next to “Replace Document Colors”.
    5. Select Custom Color: Choose the “Custom Color” option.
    6. 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.
    7. Save: Click “OK” to save the changes.
    8. Save the PDF: Save the PDF file to keep the changes.

    Literally the top hit on Google

        • @[email protected]
          link
          fedilink
          33 days ago

          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.