diff --git a/ErsatzTV.Core/ErsatzTV.Core.csproj b/ErsatzTV.Core/ErsatzTV.Core.csproj index 4204e9933..02be50aed 100644 --- a/ErsatzTV.Core/ErsatzTV.Core.csproj +++ b/ErsatzTV.Core/ErsatzTV.Core.csproj @@ -25,8 +25,8 @@ - - + + diff --git a/ErsatzTV.Core/Images/ChannelLogoGenerator.cs b/ErsatzTV.Core/Images/ChannelLogoGenerator.cs index 4f6504a90..e2466ab57 100644 --- a/ErsatzTV.Core/Images/ChannelLogoGenerator.cs +++ b/ErsatzTV.Core/Images/ChannelLogoGenerator.cs @@ -31,7 +31,7 @@ public class ChannelLogoGenerator : IChannelLogoGenerator //etv logo string overlayImagePath = Path.Combine("wwwroot", "images", "ersatztv-500.png"); using var overlayImage = SKBitmap.Decode(overlayImagePath); - canvas.DrawBitmap(overlayImage, new SKRect(155, 60, 205, 110)); + canvas.DrawBitmap(overlayImage, new SKRect(155, 60, 205, 110), SKSamplingOptions.Default); //Custom Font string fontPath = Path.Combine(FileSystemLayout.ResourcesCacheFolder, "Sen.ttf"); diff --git a/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj b/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj index 8991d7f59..f4cf012a5 100644 --- a/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj +++ b/ErsatzTV.Infrastructure/ErsatzTV.Infrastructure.csproj @@ -36,7 +36,7 @@ - + diff --git a/ErsatzTV.Infrastructure/Streaming/Graphics/GraphicsEngine.cs b/ErsatzTV.Infrastructure/Streaming/Graphics/GraphicsEngine.cs index 9e8dc9bcb..fa7697850 100644 --- a/ErsatzTV.Infrastructure/Streaming/Graphics/GraphicsEngine.cs +++ b/ErsatzTV.Infrastructure/Streaming/Graphics/GraphicsEngine.cs @@ -190,12 +190,20 @@ public class GraphicsEngine( SKColors.White.WithAlpha((byte)(preparedImage.Opacity * 255)), SKBlendMode.Modulate); paint.ColorFilter = colorFilter; - canvas.DrawBitmap(preparedImage.Image, preparedImage.Point, paint); + canvas.DrawBitmap( + preparedImage.Image, + preparedImage.Point, + SKSamplingOptions.Default, + paint); } else { paint.ColorFilter = null; - canvas.DrawBitmap(preparedImage.Image, preparedImage.Point, paint); + canvas.DrawBitmap( + preparedImage.Image, + preparedImage.Point, + SKSamplingOptions.Default, + paint); } if (preparedImage.Dispose)