Pārlūkot izejas kodu

Fix TrySetResolution

abeloin 11 gadi atpakaļ
vecāks
revīzija
a05de5ad0c

+ 1 - 1
MediaBrowser.Controller/Drawing/ImageExtensions.cs

@@ -198,7 +198,7 @@ namespace MediaBrowser.Controller.Drawing
         {
         {
             if (x > 0 && y > 0)
             if (x > 0 && y > 0)
             {
             {
-                bmp.SetResolution(bmp.HorizontalResolution, bmp.VerticalResolution);
+                bmp.SetResolution(x, y);
             }
             }
         }
         }