Skip to content

The Free Software Media System - Server Backend & API

update skia

Luke Pulverentiaae64e6b87c1
diff --git a/Emby.Drawing.Skia/SkiaEncoder.cs b/Emby.Drawing.Skia/SkiaEncoder.cs
index 64c2afe0eb..d2a771be92 100644
--- a/Emby.Drawing.Skia/SkiaEncoder.cs
+++ b/Emby.Drawing.Skia/SkiaEncoder.cs
@@ -243,10 +243,7 @@ namespace Emby.Drawing.Skia
using (var resizedBitmap = new SKBitmap(width, height, bitmap.ColorType, bitmap.AlphaType))
{
// scale image
- var resizeMethod = options.Image.Type == MediaBrowser.Model.Entities.ImageType.Logo ||
- options.Image.Type == MediaBrowser.Model.Entities.ImageType.Art
- ? SKBitmapResizeMethod.Lanczos3
- : SKBitmapResizeMethod.Lanczos3;
+ var resizeMethod = SKBitmapResizeMethod.Lanczos3;
bitmap.Resize(resizedBitmap, resizeMethod);