diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-01-09 10:51:59 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-01-09 10:51:59 +0100 |
| commit | 620fbf0f89d33ab5d4d66373c7f9fe4580691f22 (patch) | |
| tree | 97912947ff0d71aa852e8793e56ff7254a325422 /Emby.Drawing/ImageProcessor.cs | |
| parent | a8230c07eaa820a3db0961db9dce1a34d1a3c113 (diff) | |
Remove CropWhitespace function
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
| -rw-r--r-- | Emby.Drawing/ImageProcessor.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs index 8a2301d2d..af6e5b339 100644 --- a/Emby.Drawing/ImageProcessor.cs +++ b/Emby.Drawing/ImageProcessor.cs @@ -181,11 +181,6 @@ namespace Emby.Drawing { if (!File.Exists(cacheFilePath)) { - if (options.CropWhiteSpace && !SupportsTransparency(originalImagePath)) - { - options.CropWhiteSpace = false; - } - string resultPath = _imageEncoder.EncodeImage(originalImagePath, dateModified, cacheFilePath, autoOrient, orientation, quality, options, outputFormat); if (string.Equals(resultPath, originalImagePath, StringComparison.OrdinalIgnoreCase)) |
