mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-13 22:02:20 +01:00
add fixes for dng images
This commit is contained in:
@@ -40,7 +40,9 @@ namespace Emby.Drawing.Skia
|
||||
"jpeg",
|
||||
"jpg",
|
||||
"png",
|
||||
|
||||
"dng",
|
||||
|
||||
"webp",
|
||||
"gif",
|
||||
"bmp",
|
||||
@@ -459,7 +461,6 @@ namespace Emby.Drawing.Skia
|
||||
//_logger.Info("Color type {0}", bitmap.Info.ColorType);
|
||||
|
||||
var originalImageSize = new ImageSize(bitmap.Width, bitmap.Height);
|
||||
ImageHelper.SaveImageSize(inputPath, dateModified, originalImageSize);
|
||||
|
||||
if (!options.CropWhiteSpace && options.HasDefaultOptions(inputPath, originalImageSize) && !autoOrient)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user