diff options
| author | David Ullmer <davidullmer@outlook.de> | 2021-08-17 18:11:38 +0200 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2022-01-04 08:20:16 -0700 |
| commit | 3fb3ee074a375d0afd4d7d81252ba535d885afb8 (patch) | |
| tree | 327112e24e12a389cca09484849778feb4d932f9 /MediaBrowser.Controller/Drawing/SplashscreenOptions.cs | |
| parent | 0fd4ff44513b195bb43368c7002d08991fed6c98 (diff) | |
Remove splashscreen generation from IImageEncoder and add IImageGenerator
Diffstat (limited to 'MediaBrowser.Controller/Drawing/SplashscreenOptions.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/SplashscreenOptions.cs | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs b/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs index 0534d60b6..ba268b8eb 100644 --- a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs +++ b/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; - namespace MediaBrowser.Controller.Drawing { /// <summary> @@ -10,31 +8,15 @@ namespace MediaBrowser.Controller.Drawing /// <summary> /// Initializes a new instance of the <see cref="SplashscreenOptions"/> class. /// </summary> - /// <param name="portraitInputPaths">The portrait input paths.</param> - /// <param name="landscapeInputPaths">The landscape input paths.</param> /// <param name="outputPath">The output path.</param> - /// <param name="width">Optional. The image width.</param> - /// <param name="height">Optional. The image height.</param> /// <param name="applyFilter">Optional. Apply a darkening filter.</param> - public SplashscreenOptions(IReadOnlyList<string> portraitInputPaths, IReadOnlyList<string> landscapeInputPaths, string outputPath, bool applyFilter = false) + public SplashscreenOptions(string outputPath, bool applyFilter = false) { - PortraitInputPaths = portraitInputPaths; - LandscapeInputPaths = landscapeInputPaths; OutputPath = outputPath; ApplyFilter = applyFilter; } /// <summary> - /// Gets or sets the poster input paths. - /// </summary> - public IReadOnlyList<string> PortraitInputPaths { get; set; } - - /// <summary> - /// Gets or sets the landscape input paths. - /// </summary> - public IReadOnlyList<string> LandscapeInputPaths { get; set; } - - /// <summary> /// Gets or sets the output path. /// </summary> public string OutputPath { get; set; } |
