Explorar el Código

Fix TrySetResolution

abeloin hace 11 años
padre
commit
a05de5ad0c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
             }
         }