update image size responses

pull/1154/head
Luke Pulverenti 7 years ago
parent 6b2445aa2c
commit 8dcfda89d1

@ -326,7 +326,7 @@ namespace MediaBrowser.Api.Images
var fileInfo = _fileSystem.GetFileInfo(info.Path);
length = fileInfo.Length;
var size = _imageProcessor.GetImageSize(info);
var size = _imageProcessor.GetImageSize(info, true);
width = Convert.ToInt32(size.Width);
height = Convert.ToInt32(size.Height);

@ -33,6 +33,8 @@ namespace MediaBrowser.Controller.Drawing
/// <returns>ImageSize.</returns>
ImageSize GetImageSize(ItemImageInfo info);
ImageSize GetImageSize(ItemImageInfo info, bool allowSlowMethods);
/// <summary>
/// Gets the size of the image.
/// </summary>

Loading…
Cancel
Save