From a05de5ad0c8c385d91f1e81a75fcf63b344c2fd6 Mon Sep 17 00:00:00 2001 From: abeloin Date: Sat, 18 Jan 2014 09:27:20 -0500 Subject: [PATCH] Fix TrySetResolution --- MediaBrowser.Controller/Drawing/ImageExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Drawing/ImageExtensions.cs b/MediaBrowser.Controller/Drawing/ImageExtensions.cs index 8e75c52104..9dc58b3d2f 100644 --- a/MediaBrowser.Controller/Drawing/ImageExtensions.cs +++ b/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); } }