Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blurry images (program DPI awareness & windows scaling issue) #3410

Open
astasters opened this issue Feb 24, 2025 · 0 comments
Open

Blurry images (program DPI awareness & windows scaling issue) #3410

astasters opened this issue Feb 24, 2025 · 0 comments
Labels

Comments

@astasters
Copy link

astasters commented Feb 24, 2025

Bug description

Images & videos are blurry on a 4k ~160 PPI monitor with windows scaling set at 150%
The image seems to get stretched, adding fuzziness blur

  1. A hack-ish solution would be to add a optional setting that forces windows scaling to 100%.

chatgpt reply:

Since you have a 4K screen at 150% scaling, Windows is likely scaling raster images improperly. This means that:
The app is rendering images at 100% scale, but Windows upscales them.
Instead of keeping the full resolution, Windows blurs them due to how it handles scaling for certain applications.
If the app isn’t explicitly DPI-aware, Windows forces bitmap scaling instead of vector scaling, which results in blurry images.

Steps to reproduce

  1. How to reproduce:
  • set windows scaling to 100%
  • look up absurdres image using gelbooru
  • compare it to the image of 150%
  • The 100% image shows the full resolution
  • 150% is zoomed in and blurry

This is on a 4k display. you can also simulate 4k on any screen with following steps:
Nvidia control panel:
Manage 3D settings -> DSR factors -> DL scaling

Google the amd equivalent

Screenshots

ImageImage
(first image) Left is 4k, 100% windows scaling 163 PPI
(second image) Right is 4k, 150% windows scaling 163 PPI

Image
Then, this image comes from phone camera. Left 4k 100% scaling, Right 4k 150% scaling

System information

  • OS: windows 11
  • Grabber version: 7.13.0

Additional context

  1. Side note:
    I'm running two monitors, one 1440p 16:9, other 4k 16:9, same refresh rate, 10-bit, same monitor size, just different PPI.

Whenever I drag the image to the 1440p monitor, the blur is immediately removed. Its windows scaling 100%. while 4k screen is 150%

@astasters astasters added the bug label Feb 24, 2025
@astasters astasters changed the title Blurry PPI awareness windows scaling issue Blurry images (program PPI awareness & windows scaling issue) Feb 24, 2025
@astasters astasters changed the title Blurry images (program PPI awareness & windows scaling issue) Blurry images (program DPI awareness & windows scaling issue) Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant