diff options
| author | abeloin <alexandre.beloin@gmail.com> | 2014-01-18 09:27:20 -0500 |
|---|---|---|
| committer | abeloin <alexandre.beloin@gmail.com> | 2014-01-18 09:27:20 -0500 |
| commit | a05de5ad0c8c385d91f1e81a75fcf63b344c2fd6 (patch) | |
| tree | 290247ca97e552446699d2c016450958427d9b4e | |
| parent | 0f7f4674784ae76ddafc5b83ffd87add824a8191 (diff) | |
Fix TrySetResolution
| -rw-r--r-- | MediaBrowser.Controller/Drawing/ImageExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Drawing/ImageExtensions.cs b/MediaBrowser.Controller/Drawing/ImageExtensions.cs index 8e75c5210..9dc58b3d2 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); } } |
