Viewbox 中缩小图像的质量低

Low quality of shrinked images in a Viewbox

这是我的资源:

Viewbox 是这样显示的:

这就是我想要的:

有什么方法可以实现吗?

您应该将 RenderOptions.BitmapScalingMode to HighQuality 改为 Image

Use high quality bitmap scaling, which is slower than LowQuality mode, but produces higher quality output. The HighQuality mode is the same as the Fant mode.

你的XAML

<Image Source="..." RenderOptions.BitmapScalingMode="HighQuality"/>