Windows – How to change the background color in Windows Photo Viewer

colorswindows 7windows 8windows xpwindows-photo-viewer

When you open a picture file in Windows Photo Viewer the default background color is white. This is just fine in most use cases. But you might find yourself in a situation where your picture is very bright and you might want to view it on a black or a grey toned background.

a

Or as in my situation I have a historic map that's been digitized at really high resolution. There is a white border surrounding the map sheet, and I need to remove that before I can import that file and start working with the map in a GIS system. The only problem is I can't see white on white. I don't know which files need editing and which ones do not.

So is there a way to change the background color in Windows Photo viewer?

Best Answer

As it turns out, Microsoft has not foreseen the need for an option that would allow you to do this with two clicks. But thankfully there are kind and knowledgeable people who go one step further than Microsoft and share their solutions to common problems like these.

So the way you can change the background color is by editing your Windows registry.

  1. Press Win+R key to open the Run prompt.
  2. Type in regedit and press Enter. Click Yes if prompted by UAC.
  3. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows Photo Viewer\Viewer
  4. From Edit menu, select New and then DWORD (32-bit). Name it BackgroundColor.
  5. From Edit menu, select Modify.
  6. Type in "ff" followed by the hexadecimal value for the color you want (e.g. ff000000 for black).
  7. Click OK and close the Registry Editor. Done!

When you open a picture in Windows Photo Viewer now you should see a black background color.

b

The white border is now better exposed and I can see what files need editing. A black background also makes your regular pictures (not many people are looking at maps in Windows Photo Viewer) pop out. It gives you better view of the picture and makes it easier for you to decide which ones to keep and which ones not to keep, in case you are culling photos inside Windows Photo Viewer. Some users might find that a grey background is a better choice, it's kind of the mid option between white and black.

Here's an example with a shade of green.

c

All the credit goes to How-To Geek. I just wanted to share this with you guys and give you an idea how this can be helpful. This has been tested and is working in Windows 8.0. Because Windows Photo Viewer has been included with Windows XP and Windows 7 it should work with those OS-es. In Windows Vista it was replaced by Windows Photo Gallery, so those users might need to find the proper registry key and then add the same DWORD value.

Related Question