add skia error handling

This commit is contained in:
Luke Pulverenti
2017-06-24 14:29:23 -04:00
parent 023952d04d
commit bcaf9bd19c
2 changed files with 9 additions and 4 deletions

View File

@@ -410,6 +410,11 @@ namespace Emby.Drawing
return GetCachePath(ResizedImageCachePath, filename, "." + format.ToString().ToLower());
}
public ImageSize GetImageSize(ItemImageInfo info, bool allowSlowMethods)
{
return GetImageSize(info.Path, info.DateModified, allowSlowMethods);
}
public ImageSize GetImageSize(ItemImageInfo info)
{
return GetImageSize(info.Path, info.DateModified, false);