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

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
sebascomeau
Posts: 16
Joined: Fri Jan 31, 2014 5:31 pm

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

Post by sebascomeau » Thu Oct 15, 2015 9:07 pm

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

Alex
Site Admin
Posts: 1461
Joined: Thu Jul 10, 2008 2:21 pm

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

Post by Alex » Fri Oct 16, 2015 12:15 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest