diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-10-13 00:02:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 00:02:08 -0400 |
| commit | 1f5ac193464dbbecdbc72aeef72688328f93889a (patch) | |
| tree | 755dba34b467d4dff5adf93c1a3a3f6fe43a7fb4 /MediaBrowser.Controller/Drawing/IImageProcessor.cs | |
| parent | 42fb04b08437f2ffa79aed5c0d8c3b66b081f240 (diff) | |
| parent | 2a84d5a6933842e99b3b1f734e9a2b7241705a7f (diff) | |
Merge pull request #3954 from Ullmie02/library-pictures
Use backdrop with library name as library thumbnail
Diffstat (limited to 'MediaBrowser.Controller/Drawing/IImageProcessor.cs')
| -rw-r--r-- | MediaBrowser.Controller/Drawing/IImageProcessor.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.cs index b7edb1052..935a79031 100644 --- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs +++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs @@ -1,4 +1,5 @@ #pragma warning disable CS1591 +#nullable enable using System; using System.Collections.Generic; @@ -75,7 +76,7 @@ namespace MediaBrowser.Controller.Drawing /// </summary> /// <param name="options">The options.</param> /// <returns>Task.</returns> - Task<(string path, string mimeType, DateTime dateModified)> ProcessImage(ImageProcessingOptions options); + Task<(string path, string? mimeType, DateTime dateModified)> ProcessImage(ImageProcessingOptions options); /// <summary> /// Gets the supported image output formats. @@ -87,7 +88,8 @@ namespace MediaBrowser.Controller.Drawing /// Creates the image collage. /// </summary> /// <param name="options">The options.</param> - void CreateImageCollage(ImageCollageOptions options); + /// <param name="libraryName">The library name to draw onto the collage.</param> + void CreateImageCollage(ImageCollageOptions options, string? libraryName); bool SupportsTransparency(string path); } |
