diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 30a8334d26..8ceec85294 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -375,6 +375,11 @@ namespace Emby.Drawing
return GetImageSize(info.Path, info.DateModified, false);
}
+ public ImageSize GetImageSize(string path)
+ {
+ return GetImageSize(path, _fileSystem.GetLastWriteTimeUtc(path), false);
+ }
+
///
/// Gets the size of the image.
///
diff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.cs
index 838dfc9fb2..fea6b979d1 100644
--- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs
+++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs
@@ -32,6 +32,13 @@ namespace MediaBrowser.Controller.Drawing
/// ImageSize.
ImageSize GetImageSize(ItemImageInfo info);
+ ///
+ /// Gets the size of the image.
+ ///
+ /// The path.
+ /// ImageSize.
+ ImageSize GetImageSize(string path);
+
///
/// Adds the parts.
///