diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-04-10 02:57:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-10 02:57:43 +0200 |
| commit | b2fbf97abd3b603c76178455992a70383afd213b (patch) | |
| tree | 30171155d890718cdd41d80057a1d1615c146873 /Emby.Drawing/ImageProcessor.cs | |
| parent | 9d548c62ba7389ae7b1758f468ef322f59676110 (diff) | |
| parent | 620fbf0f89d33ab5d4d66373c7f9fe4580691f22 (diff) | |
Merge pull request #4988 from Bond-009/crop
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 aa8a3d212..978173d5a 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)) |
