I have a 32x32 png icon that looks very crisp normally, but when I use it in a ButtonTool in a XamRibbon, it looks fuzzy/blurred. I noticed this even in XamFeatureBrowser -- if you compare the sample Paste icon (a clipboard) against a standard Office 2007 icon, it looks fuzzy. See attachment.
The documentation states that the LargeImage should be 32x32: "LargeImage - Usually a 32 x 32 pixel image. You'll see this image when a tool's SizingMode is set to ImageAndTextLarge."
When I measure the rendered icon, it seems to still be 32x32, so I don't think any resizing is occuring.
Suggestions?
Unfortunately, this is a product WPF being resolution independant; elements can (and usually are) positioned along subpixel boundaries so the image is anti-aliased across device pixels. This is a known and documented WPF limitation when using bitmaps:
http://msdn2.microsoft.com/en-us/library/aa970908.aspx
http://blogs.msdn.com/seema/archive/2006/11/07/why-do-my-bitmaps-look-blurry-by-anthony-hodsdon-miles-cohen.aspx
Andrew,
Thank you for your prompt reply.
The issue makes sense, but I am wondering why we do not see this blurriness in our previous vendor's WPF Ribbon control (see attachment)?