aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/GDI
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Drawing/GDI')
-rw-r--r--Emby.Drawing/GDI/DynamicImageHelpers.cs14
-rw-r--r--Emby.Drawing/GDI/GDIImageEncoder.cs2
2 files changed, 8 insertions, 8 deletions
diff --git a/Emby.Drawing/GDI/DynamicImageHelpers.cs b/Emby.Drawing/GDI/DynamicImageHelpers.cs
index c49007c5fd..b4a63b31e2 100644
--- a/Emby.Drawing/GDI/DynamicImageHelpers.cs
+++ b/Emby.Drawing/GDI/DynamicImageHelpers.cs
@@ -1,11 +1,9 @@
-using Emby.Drawing.ImageMagick;
-using MediaBrowser.Common.IO;
+using MediaBrowser.Common.IO;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
-using System.Linq;
namespace Emby.Drawing.GDI
{
@@ -18,10 +16,10 @@ namespace Emby.Drawing.GDI
int height)
{
const int numStrips = 4;
- files = StripCollageBuilder.ProjectPaths(files, numStrips).ToList();
-
+ files = ImageHelpers.ProjectPaths(files, numStrips);
+
const int rows = 1;
- int cols = numStrips;
+ int cols = numStrips;
int cellWidth = 2 * (width / 3);
int cellHeight = height;
@@ -76,8 +74,8 @@ namespace Emby.Drawing.GDI
int width,
int height)
{
- files = StripCollageBuilder.ProjectPaths(files, 4).ToList();
-
+ files = ImageHelpers.ProjectPaths(files, 4);
+
const int rows = 2;
const int cols = 2;
diff --git a/Emby.Drawing/GDI/GDIImageEncoder.cs b/Emby.Drawing/GDI/GDIImageEncoder.cs
index d968b8b5fe..7e3ca530b5 100644
--- a/Emby.Drawing/GDI/GDIImageEncoder.cs
+++ b/Emby.Drawing/GDI/GDIImageEncoder.cs
@@ -21,6 +21,8 @@ namespace Emby.Drawing.GDI
{
_fileSystem = fileSystem;
_logger = logger;
+
+ _logger.Info("GDI image processor initialized");
}
public string[] SupportedInputFormats