<Style TargetType="{x:Type Image}"> <Setter Property="RenderOptions.BitmapScalingMode" Value="NearestNeighbor"/> <Setter Property="UseLayoutRounding" Value="true"/> </Style>