Blog

Invert PDF ColorsWithout Ruining Your Images

Every basic inverter turns photos into creepy film negatives. PDF Dark inverts the page and leaves your photos alone.

By PDF Dark TeamUpdated July 15, 20266 min read

The negative-photo problem

Color inversion is a great idea for text — and a terrible one for photos.

What naive inversion does

  • White page → dark page. Good.
  • Black text → light text. Good.
  • Faces → cyan. Skies → orange. Every photo becomes a film negative.
  • Charts and diagrams shift into colors the author never chose — red warnings turn teal, brand colors flip.
  • OS-level “Smart Invert” tries to skip images, but only inside that one device's screen — the file itself never changes.

What PDF Dark does instead

  • Reads the PDF's own structure to find exactly where every image sits on the page
  • Darkens text, background, and vector graphics — with hue preserved, so a dark-blue heading becomes light-blue, not gray
  • Restores the original image pixels exactly where they were — photos stay photos
  • Round-cropped avatars are restored through their circular frame — no light corners leaking back
  • Downloads as a real PDF file with all of this baked in

Not every image should be preserved — so you get three modes

A white-background screenshot glares at night even if you keep it “original”. A photo looks alien if you invert it. The right treatment depends on the image — so the default mode decides per image, and you can override globally.

Auto (default) — each image gets the best treatment

Every image is sampled for brightness and colorfulness. White, colorless figures (screenshots, tables, diagrams exported as images) are inverted with the page so they blend into the dark theme. Photos keep their original colors. Bright colorful images get a gentle dim so they don't glare.

Original — nothing touches your images

Photos, figures, and even full-page scans stay pixel-identical to the source. Only text and background are darkened. Pick this for photo albums, portfolios, and slide decks.

Invert — everything goes dark, images included

The classic full inversion, best for scanned documents where the “image” is the text. Deepest possible dark on OLED screens.

Invert your PDF — keep your photos

Drop a file, watch the images survive, download the dark PDF

Free and browser-only: the file never leaves your device. Check the Images toggle in the toolbar to switch between Auto, Original, and Invert.

Try PDF Dark →

More from the PDF Dark blog

Different angles on the same converter — pick the post that matches your scenario. The drop zone is at the top of every page.

Inverting PDF colors FAQ

Why do photos turn into negatives when I invert a PDF?

Naive inversion flips every pixel on the page — including the pixels inside photos. Skin turns cyan, skies turn orange, exactly like old film negatives. The fix is to treat images as separate objects: PDF Dark locates every embedded image on the page and pastes the original pixels back after the text and background have been darkened.

How does the automatic mode decide what to do with each image?

Each image is sampled for brightness and colorfulness. Bright, essentially colorless images (white-background screenshots, tables, diagrams) are inverted together with the page so they blend in. Photos are kept in their original colors. Bright but colorful images get a gentle dim so they don't glare at night.

Can I force all images to stay exactly as they are?

Yes — switch the Images control to 'Original'. Photos, figures, and even full-page scans then stay pixel-identical to the source file; only text and background are darkened.

Can I invert everything, images included?

Yes — the 'Invert' option runs every image through the same dark mapping as the rest of the page. That's the right choice for scanned documents or when you want the deepest possible dark.

Does this work for circular profile photos (like in a resume)?

Yes. Round-cropped images are detected and restored through their circular frame, so the corners around the circle stay dark instead of flashing the original light background.

Is my PDF uploaded anywhere?

No. Detection, inversion, and image restoration all run in your browser via a Web Worker. The file never leaves your device.