mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-08 19:32:05 +01:00
add fixes for dng images
This commit is contained in:
@@ -117,8 +117,6 @@ namespace MediaBrowser.Controller.Drawing
|
||||
|
||||
IImageEncoder ImageEncoder { get; set; }
|
||||
|
||||
void SaveImageSize(string path, DateTime imageDateModified, ImageSize size);
|
||||
|
||||
bool SupportsTransparency(string path);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,11 +21,6 @@ namespace MediaBrowser.Controller.Drawing
|
||||
|
||||
public static IImageProcessor ImageProcessor { get; set; }
|
||||
|
||||
public static void SaveImageSize(string path, DateTime dateModified, ImageSize size)
|
||||
{
|
||||
ImageProcessor.SaveImageSize(path, dateModified, size);
|
||||
}
|
||||
|
||||
private static ImageSize GetSizeEstimate(ImageProcessingOptions options)
|
||||
{
|
||||
if (options.Width.HasValue && options.Height.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user