mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
add skia error handling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user