image = new Image();
RenderOptions.SetBitmapScalingMode(image, BitmapScalingMode.NearestNeighbor);

음! 이건 버전이나 그런것은 모르겠고 일단 설정하는 모드가 있는듯!

BitmapScalingMode 의 멤버들.. msdn 뽑아옴~

Member nameDescription
UnspecifiedUse the default bitmap scaling mode, which is Linear.
LowQualityUse bilinear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. The LowQualitymode is the same as the Linear mode.
HighQualityUse high quality bitmap scaling, which is slower than LowQuality mode, but produces higher quality output. TheHighQuality mode is the same as the Fant mode.
LinearUse linear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output.
FantUse very high quality Fant bitmap scaling, which is slower than all other bitmap scaling modes, but produces higher quality output.
NearestNeighborUse nearest-neighbor bitmap scaling, which provides performance benefits over LowQuality mode when the software rasterizer is used. This mode is often used to magnify a bitmap.

Posted by ngcbbs
,