aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing.ImageMagick/ImageMagickEncoder.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-24 15:53:36 -0400
committerGitHub <noreply@github.com>2017-08-24 15:53:36 -0400
commit421f506d3f5dcfd020355f2dbc37db3ed6493363 (patch)
tree1d9a69d530f59bf261b0fc8a63f2ceb1a1608fd3 /Emby.Drawing.ImageMagick/ImageMagickEncoder.cs
parent2bd37fd2c25cd740f4e9f69c4f9a766b10467ded (diff)
parent165069ce6337919ebc824d8cf0ef1ef945835718 (diff)
Merge pull request #2841 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Drawing.ImageMagick/ImageMagickEncoder.cs')
-rw-r--r--Emby.Drawing.ImageMagick/ImageMagickEncoder.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Emby.Drawing.ImageMagick/ImageMagickEncoder.cs b/Emby.Drawing.ImageMagick/ImageMagickEncoder.cs
index ea8687de0..9abf85e70 100644
--- a/Emby.Drawing.ImageMagick/ImageMagickEncoder.cs
+++ b/Emby.Drawing.ImageMagick/ImageMagickEncoder.cs
@@ -7,7 +7,6 @@ using MediaBrowser.Model.Drawing;
using MediaBrowser.Model.Logging;
using System;
using System.IO;
-using System.Linq;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.System;
@@ -306,15 +305,15 @@ namespace Emby.Drawing.ImageMagick
if (ratio >= 1.4)
{
- new StripCollageBuilder(_appPaths, _fileSystem).BuildThumbCollage(options.InputPaths.ToList(), options.OutputPath, options.Width, options.Height);
+ new StripCollageBuilder(_appPaths, _fileSystem).BuildThumbCollage(options.InputPaths, options.OutputPath, options.Width, options.Height);
}
else if (ratio >= .9)
{
- new StripCollageBuilder(_appPaths, _fileSystem).BuildSquareCollage(options.InputPaths.ToList(), options.OutputPath, options.Width, options.Height);
+ new StripCollageBuilder(_appPaths, _fileSystem).BuildSquareCollage(options.InputPaths, options.OutputPath, options.Width, options.Height);
}
else
{
- new StripCollageBuilder(_appPaths, _fileSystem).BuildPosterCollage(options.InputPaths.ToList(), options.OutputPath, options.Width, options.Height);
+ new StripCollageBuilder(_appPaths, _fileSystem).BuildPosterCollage(options.InputPaths, options.OutputPath, options.Width, options.Height);
}
}