mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-16 07:12:18 +01:00
Suggestions from review
This commit is contained in:
@@ -74,5 +74,12 @@ namespace MediaBrowser.Controller.Drawing
|
||||
/// <param name="options">The options to use when creating the collage.</param>
|
||||
/// <param name="libraryName">Optional. </param>
|
||||
void CreateImageCollage(ImageCollageOptions options, string? libraryName);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new splashscreen image.
|
||||
/// </summary>
|
||||
/// <param name="posters">The list of poster paths.</param>
|
||||
/// <param name="backdrops">The list of backdrop paths.</param>
|
||||
void CreateSplashscreen(IReadOnlyList<string> posters, IReadOnlyList<string> backdrops);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.Drawing;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for an image generator.
|
||||
/// </summary>
|
||||
public interface IImageGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the supported generated images of the image generator.
|
||||
/// </summary>
|
||||
/// <returns>The supported generated image types.</returns>
|
||||
IReadOnlyList<GeneratedImageType> GetSupportedImages();
|
||||
|
||||
/// <summary>
|
||||
/// Generates a splashscreen.
|
||||
/// </summary>
|
||||
/// <param name="imageTypeType">The image to generate.</param>
|
||||
/// <param name="outputPath">The path where the splashscreen should be saved.</param>
|
||||
void Generate(GeneratedImageType imageTypeType, string outputPath);
|
||||
}
|
||||
Reference in New Issue
Block a user