Browse Source

Merge pull request #676 from abeloin/master

Fix TrySetResolution
Luke 11 years ago
parent
commit
97ea9d6085
1 changed files with 1 additions and 1 deletions
  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);
             }
         }