RenderOptions.SetBitmapScalingMode Method (DependencyObject, BitmapScalingMode)
Sets the value of the BitmapScalingMode attached property on a specified dependency object.
Assembly: PresentationCore (in PresentationCore.dll)
public static void SetBitmapScalingMode( DependencyObject target, BitmapScalingMode bitmapScalingMode )
When animating the scale of any bitmap, the default high-quality image re-sampling algorithm can sometimes consume sufficient system resources to cause frame rate degradation, effectively causing animations to stutter. By setting the BitmapScalingMode property of the RenderOptions object to LowQuality, you can create a smoother animation when scaling a bitmap.
Available since 3.0