Page 1 of 1

Images appears blurry in image viewer when Windows scaling mode is set to 150%

Posted: Thu Oct 15, 2015 9:07 pm
by sebascomeau
Hi,

Some of our users set their windows scaling mode to Larger - 150%. Images in the WpfImageViewer appears blurry if I compare to scale Smaller - 100% (default). We had complains on this and we tried to change the SizeMode property but the problem is still there.

Take a look to the following print screens.

Smaller - 100% (default) [96 dpi]
http://cdn.ccnb.ca/vintasoft/smaller100.png

Larger - 150% [144 dpi]
http://cdn.ccnb.ca/vintasoft/larger150.png

Thanks,
Sébastien Comeau

Re: Images appears blurry in image viewer when Windows scaling mode is set to 150%

Posted: Fri Oct 16, 2015 12:15 pm
by Alex
Hi Sébastien,

Your clients have blurriness because the Desktop Window Manager (DWM) virtualizes and scales the application to account for high DPI.

For more info please read the "Writing DPI-Aware Desktop and Win32 Applications" article:
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

and the "Developing a Per-Monitor DPI-Aware WPF Application" article:
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

We will add support for "per Monitor–DPI Aware Applications" in our WPF viewers in future version of SDK.

Best regards, Alexander