@ -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);
/// <summary>
/// Gets the size of the image.
/// </summary>
@ -32,6 +32,13 @@ namespace MediaBrowser.Controller.Drawing
/// <returns>ImageSize.</returns>
ImageSize GetImageSize(ItemImageInfo info);
/// <param name="path">The path.</param>
ImageSize GetImageSize(string path);
/// Adds the parts.