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/IImageGenerator.cs | |
| parent | 0fd4ff44513b195bb43368c7002d08991fed6c98 (diff) | |
Remove splashscreen generation from IImageEncoder and add IImageGenerator
Diffstat (limited to 'MediaBrowser.Controller/Drawing/IImageGenerator.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/IImageGenerator.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageGenerator.cs b/MediaBrowser.Controller/Drawing/IImageGenerator.cs new file mode 100644 index 000000000..21699c3f0 --- /dev/null +++ b/MediaBrowser.Controller/Drawing/IImageGenerator.cs @@ -0,0 +1,17 @@ +namespace MediaBrowser.Controller.Drawing +{ + public interface IImageGenerator + { + /// <summary> + /// Gets the supported generated images of the image generator. + /// </summary> + /// <returns>The supported images.</returns> + GeneratedImages[] GetSupportedImages(); + + /// <summary> + /// Generates a splashscreen. + /// </summary> + /// <param name="generationOptions">The options used to generate the splashscreen.</param> + void GenerateSplashscreen(SplashscreenOptions generationOptions); + } +} |
