DEV Community

Harman Preet Singh
Harman Preet Singh

Posted on

FIX: Windows compresses backgrounds automatically to 85% quality

Just today I discovered that Windows automatically compresses JPG images to 85% quality when you set it as your desktop wallpaper

This is not new. When I looked it up on Google, the first couple results were over 8 years old

Here's how to fix it

Option 1: simple method

Use any other file format than .jpg or .jpeg

Option 2: if you insist on using JPEG images

  1. Hit Win+R
  2. Type "regedit" and hit enter
  3. Go to HKEY_CURRENT_USER > Control Panel > Desktop
  4. Right click on desktop and select new DWORD (32-bit value)
  5. Call it "JPEGImportQuality" (exactly like written here)
  6. Set the base to Decimal, and the value to 100
  7. Close regedit

From there you can either restart the Windows Explorer task through Task Manager, or just restart your computer

I restarted Windows Explorer, and then applied a new wallpaper, and it worked :)

Top comments (0)