diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 12:32:15 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-11 12:32:15 -0400 |
| commit | 5492e34c6d1db3c083dacef546da4a3895186ac2 (patch) | |
| tree | bb208e339ef82524faa16112655d3a511e47e153 /Emby.Drawing/GDI/DynamicImageHelpers.cs | |
| parent | 42b4b03703efe6deac1bcc1622468534ad408650 (diff) | |
update indexedDb
Diffstat (limited to 'Emby.Drawing/GDI/DynamicImageHelpers.cs')
| -rw-r--r-- | Emby.Drawing/GDI/DynamicImageHelpers.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Emby.Drawing/GDI/DynamicImageHelpers.cs b/Emby.Drawing/GDI/DynamicImageHelpers.cs index c49007c5f..b4a63b31e 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; |
