diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-08-25 00:54:06 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-08-25 00:54:06 -0400 |
| commit | f5a6a418f58b26f49ff8fc17c32e391f79565105 (patch) | |
| tree | b47d0dce1bf8fd25ad7b9c5d807be3f8cb261b92 /Emby.Drawing/GDI/DynamicImageHelpers.cs | |
| parent | dc09bb8c0847cec812364ee6f32be055741e76dc (diff) | |
update scaling with MaxHeight
Diffstat (limited to 'Emby.Drawing/GDI/DynamicImageHelpers.cs')
| -rw-r--r-- | Emby.Drawing/GDI/DynamicImageHelpers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Drawing/GDI/DynamicImageHelpers.cs b/Emby.Drawing/GDI/DynamicImageHelpers.cs index e0ce90120..59340af8a 100644 --- a/Emby.Drawing/GDI/DynamicImageHelpers.cs +++ b/Emby.Drawing/GDI/DynamicImageHelpers.cs @@ -34,7 +34,7 @@ namespace Emby.Drawing.GDI graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; - // This causes the image to be blank in OSX + // SourceCopy causes the image to be blank in OSX //graphics.CompositingMode = CompositingMode.SourceCopy; for (var row = 0; row < rows; row++) @@ -83,7 +83,7 @@ namespace Emby.Drawing.GDI graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; graphics.PixelOffsetMode = PixelOffsetMode.HighQuality; - // This causes the image to be blank in OSX + // SourceCopy causes the image to be blank in OSX //graphics.CompositingMode = CompositingMode.SourceCopy; for (var row = 0; row < rows; row++) |
