From 68db3be0e754d223a290c9276345bc9551eab887 Mon Sep 17 00:00:00 2001 From: David Ullmer Date: Tue, 17 Aug 2021 18:34:54 +0200 Subject: Remove darkening filter from Splashscreen Using the foregroundLayer parameter has the same effect --- MediaBrowser.Controller/Drawing/IImageGenerator.cs | 4 +-- .../Drawing/SplashscreenOptions.cs | 29 ---------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 MediaBrowser.Controller/Drawing/SplashscreenOptions.cs (limited to 'MediaBrowser.Controller/Drawing') diff --git a/MediaBrowser.Controller/Drawing/IImageGenerator.cs b/MediaBrowser.Controller/Drawing/IImageGenerator.cs index 21699c3f0..4f944ce54 100644 --- a/MediaBrowser.Controller/Drawing/IImageGenerator.cs +++ b/MediaBrowser.Controller/Drawing/IImageGenerator.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Controller.Drawing /// /// Generates a splashscreen. /// - /// The options used to generate the splashscreen. - void GenerateSplashscreen(SplashscreenOptions generationOptions); + /// The path where the splashscreen should be saved. + void GenerateSplashscreen(string outputPath); } } diff --git a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs b/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs deleted file mode 100644 index ba268b8eb..000000000 --- a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace MediaBrowser.Controller.Drawing -{ - /// - /// Options used to generate the splashscreen. - /// - public class SplashscreenOptions - { - /// - /// Initializes a new instance of the class. - /// - /// The output path. - /// Optional. Apply a darkening filter. - public SplashscreenOptions(string outputPath, bool applyFilter = false) - { - OutputPath = outputPath; - ApplyFilter = applyFilter; - } - - /// - /// Gets or sets the output path. - /// - public string OutputPath { get; set; } - - /// - /// Gets or sets a value indicating whether to apply a darkening filter at the end. - /// - public bool ApplyFilter { get; set; } - } -} -- cgit v1.2.3