aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/GDI/GDIImageEncoder.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-21 11:53:03 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-22 23:50:14 -0500
commitde83adb38c10ccb98f68e2904e419dc77119978c (patch)
tree090492773ec898423d8498f37281b3c2202037bb /Emby.Drawing/GDI/GDIImageEncoder.cs
parented49e931182b240f623e96422604e75a61d50e91 (diff)
use image magick for auto-orientation
Diffstat (limited to 'Emby.Drawing/GDI/GDIImageEncoder.cs')
-rw-r--r--Emby.Drawing/GDI/GDIImageEncoder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Drawing/GDI/GDIImageEncoder.cs b/Emby.Drawing/GDI/GDIImageEncoder.cs
index 51b4605c3..bdd1c5a22 100644
--- a/Emby.Drawing/GDI/GDIImageEncoder.cs
+++ b/Emby.Drawing/GDI/GDIImageEncoder.cs
@@ -89,7 +89,7 @@ namespace Emby.Drawing.GDI
}
}
- public void EncodeImage(string inputPath, string cacheFilePath, int rotationAngle, int width, int height, int quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
+ public void EncodeImage(string inputPath, string cacheFilePath, bool autoOrient, int width, int height, int quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
{
var hasPostProcessing = !string.IsNullOrEmpty(options.BackgroundColor) || options.UnplayedCount.HasValue || options.AddPlayedIndicator || options.PercentPlayed > 0;