diff --git a/src/Iot.Device.Bindings.SkiaSharpAdapter/Iot.Device.Bindings.SkiaSharpAdapter.csproj b/src/Iot.Device.Bindings.SkiaSharpAdapter/Iot.Device.Bindings.SkiaSharpAdapter.csproj
index 98c9c5982f..0444955685 100644
--- a/src/Iot.Device.Bindings.SkiaSharpAdapter/Iot.Device.Bindings.SkiaSharpAdapter.csproj
+++ b/src/Iot.Device.Bindings.SkiaSharpAdapter/Iot.Device.Bindings.SkiaSharpAdapter.csproj
@@ -19,9 +19,9 @@
-
+
-
+
diff --git a/src/devices/SkiaSharpAdapter/SkiaSharpAdapter.csproj b/src/devices/SkiaSharpAdapter/SkiaSharpAdapter.csproj
index 5b8e951831..aaf45449fa 100644
--- a/src/devices/SkiaSharpAdapter/SkiaSharpAdapter.csproj
+++ b/src/devices/SkiaSharpAdapter/SkiaSharpAdapter.csproj
@@ -14,8 +14,8 @@
-
-
+
+
diff --git a/src/devices/SkiaSharpAdapter/SkiaSharpGraphicsExtensions.cs b/src/devices/SkiaSharpAdapter/SkiaSharpGraphicsExtensions.cs
index 8393cec909..290bb34202 100644
--- a/src/devices/SkiaSharpAdapter/SkiaSharpGraphicsExtensions.cs
+++ b/src/devices/SkiaSharpAdapter/SkiaSharpGraphicsExtensions.cs
@@ -134,7 +134,7 @@ public static void DrawImage(this IGraphics graphics, BitmapImage source, int x,
{
var sourceBmp = (SkiaSharpBitmap)source;
var targetCanvas = GetCanvas(graphics);
- targetCanvas.DrawBitmap(sourceBmp.WrappedBitmap, x, y, null);
+ targetCanvas.DrawBitmap(sourceBmp.WrappedBitmap, x, y, SKSamplingOptions.Default, null);
}
///
@@ -166,7 +166,7 @@ public static BitmapImage Rotate(this BitmapImage source, double angle)
canvas.Translate(rotatedWidth / 2.0f, rotatedHeight / 2.0f);
canvas.RotateDegrees((float)angle);
canvas.Translate(-originalWidth / 2.0f, -originalHeight / 2.0f);
- canvas.DrawBitmap(img.WrappedBitmap, new SKPoint());
+ canvas.DrawBitmap(img.WrappedBitmap, new SKPoint(), SKSamplingOptions.Default, null);
}
PixelFormat pf = img.WrappedBitmap.ColorType switch
@@ -191,7 +191,7 @@ public static void DrawImage(this IGraphics graphics, BitmapImage source, Rectan
var sourceBmp = (SkiaSharpBitmap)source;
var targetCanvas = GetCanvas(graphics);
targetCanvas.DrawBitmap(sourceBmp.WrappedBitmap, new SKRect(sourceRectangle.Left, sourceRectangle.Top, sourceRectangle.Right, sourceRectangle.Bottom),
- new SKRect(targetRectangle.Left, targetRectangle.Top, targetRectangle.Right, targetRectangle.Bottom));
+ new SKRect(targetRectangle.Left, targetRectangle.Top, targetRectangle.Right, targetRectangle.Bottom), SKSamplingOptions.Default, null);
}
///