2

I have an Image as shown below. When zooming in (enlarging the image), I want to preserve the pixels as much as possible. Hence, interpolation should be avoided. E.g. Zooming 1700% implies a solid 17x17 pixel area for each and every pixel. (I understand this becomes problematic for values like 1730%.)

<Image Stretch="Uniform" Source="C:\test.png"
       <!-- 4 important values -->
       SnapsToDevicePixels="True"
       UseLayoutRounding="True"
       RenderOptions.EdgeMode="Aliased"
       RenderOptions.BitmapScalingMode="NearestNeighbor"/>

Q: What combination of these four settings is the best in this case?

4

0 回答 0