abeloin пре 11 година
родитељ
комит
a05de5ad0c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      MediaBrowser.Controller/Drawing/ImageExtensions.cs

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

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