Images in WPF 4.0 are of lesser quality than in 3.5
I just updated my app to .Net 4.0 from 3.5sp1
Which included removing references to the toolkit and exhange them with system.xaml.
Some more reference changing was r开发者_JAVA技巧equired by me but I dont quite recall what they were.
Anyway, after I compiled and run it the the first thing that popped into my eyes is that all the images seem worse.
Here's a screenshot that show some of the changes, WPF 4.0 is on the right
Will appreciate any help.
Thanks
Dan
Try setting RenderOptions.BitmapScalingMode to Fant or HighQuality. It looks like the default was changed in WPF 4.0. From Link:
The default RenderOptions.BitmapScalingMode (Unspecified) is now Linear instead of Fant. If you still want Fant, you can re-enable it.
精彩评论