tags:

views:

68

answers:

1

Hello, 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 required 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 http://www.freeimagehosting.net/image.php?96967dfde8.jpg

Will appreciate any help.

Thanks

Dan

+1  A: 

Try setting RenderOptions.BitmapScalingMode to Fant or HighQuality. It looks like the default was changed in WPF 4.0. From http://blogs.msdn.com/b/wpf3d/archive/2009/06/24/what-s-new-in-graphics-for-4-0-beta-1.aspx:

The default RenderOptions.BitmapScalingMode (Unspecified) is now Linear instead of Fant. If you still want Fant, you can re-enable it.

Quartermeister
Yes that did the trick.Thanks mate!
Dan