diff options
| author | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
|---|---|---|
| committer | stefan <stefan@hegedues.at> | 2018-09-12 19:26:21 +0200 |
| commit | 48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch) | |
| tree | 8dae77a31670a888d733484cb17dd4077d5444e8 /MediaBrowser.ServerApplication/ImageEncoderHelper.cs | |
| parent | c32d8656382a0eacb301692e0084377fc433ae9b (diff) | |
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'MediaBrowser.ServerApplication/ImageEncoderHelper.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/ImageEncoderHelper.cs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/MediaBrowser.ServerApplication/ImageEncoderHelper.cs b/MediaBrowser.ServerApplication/ImageEncoderHelper.cs deleted file mode 100644 index 7c95a25de..000000000 --- a/MediaBrowser.ServerApplication/ImageEncoderHelper.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using Emby.Drawing; -using Emby.Drawing.Skia; -using Emby.Server.Implementations; -using MediaBrowser.Common.Configuration; -using MediaBrowser.Common.Net; -using MediaBrowser.Controller.Drawing; -using MediaBrowser.Model.IO; -using MediaBrowser.Model.Logging; -using MediaBrowser.Model.Globalization; - -namespace MediaBrowser.Server.Startup.Common -{ - public class ImageEncoderHelper - { - public static IImageEncoder GetImageEncoder(ILogger logger, - ILogManager logManager, - IFileSystem fileSystem, - StartupOptions startupOptions, - Func<IHttpClient> httpClient, - IApplicationPaths appPaths, - ILocalizationManager localizationManager) - { - try - { - return new SkiaEncoder(logManager.GetLogger("Skia"), appPaths, httpClient, fileSystem, localizationManager); - } - catch - { - logger.Error("Skia not available. Will try next image processor."); - } - - return new NullImageEncoder(); - } - } -} |
