Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to invert all the colors of a PDF document (background, text, graphics, and images). I want it persistent in the file so the inverted viewing options, that some viewers offer, won't help.

Rasterizing the document and using image manipulation software is also not an option.

I read somewhere that this can be done with the Enfocus PitStop plugin for Acrobat. However I didn't see a corresponding command anywhere. Am I missing something?

Then I read that the ARTS PDF Crackerjack plugin for Acrobat offers negative printing so I tried that, too. The option is there but it simply doesn't work.

I have been searching for very long for a way to do this. It seems like a common enough task but I just can't find out how to do it.

Are there maybe any virtual printer drivers or something of the sort that support negative printing?

Can anyone help?

share|improve this question
1  
Hey, man, try using the PDF reader called Evince. I know that it allow you to invert colors (inclusive images) for reading, but I don't know about an option to print them in that way (I don't have a local copy and cannot install here to see). –  kokbira Jul 15 '11 at 17:51
    
So if I understand correctly you must keep text as text... but if you realize that you just need to have a pdf (also an image in a pdf) you can use ImageMagick by calling "convert input.pdf -negate output.pdf" –  David Costa Jul 18 '11 at 10:25
    
Similar question : superuser.com/questions/286403/… –  landroni Nov 4 '14 at 10:38

3 Answers 3

Did you try:

Edit, Preferences, Accessibility, then check the box that says replace colors. 

enter image description here

share|improve this answer
    
Foxit Reader has an option like this, but it doesn't seem to affect images. –  NiteCyper May 31 '14 at 17:12

I rigged together a Ruby script (using Inkscape and ImageMagick as subroutines) pdfinvert. It proceeds as follows:

  1. Split PDF into individual pages.
  2. Convert each page to SVG.
  3. Invert colors¹ in the SVG; embedded PNG images are taken care of².
  4. Reconvert each page to PNG.
  5. Join pages together for the final result.

It was designed for drawings but it may work in many more cases (it seems to need some extensions to work with uncolored backgrounds).

As it is, this will probably only work on GNU/Linux (and maybe other Unix-ish systems) due to the way third-party tools are called, but you may be able to adapt what does not work to Windows.


  1. You can also specify a color replacement table.
  2. The approach probably extends to JPG or any other format ImageMagick's convert can deal with.
share|improve this answer

i managed to do it like this:

download PDF24 creator; open your .pdf and save it as .png or .jpg; open the new created image, modify it as you wish (ex. invert colors) and save; open and merge* files in pdf24 and save it as .pdf :)

*the bad part: must do page by page :( a good compromise in order to save precious ink

share|improve this answer
    
"Rasterizing the document and using image manipulation software is also not an option." –  G-Man Jan 27 at 22:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.