aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 6bdb06c83..1c60abfb5 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -477,6 +477,11 @@ namespace Emby.Drawing
return size;
}
+ public ImageSize GetImageSize(string path)
+ {
+ return GetImageSize(path, true);
+ }
+
/// <summary>
/// Gets the size of the image.
/// </summary>