You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/MediaBrowser.Controller/Drawing/IImageGenerator.cs

23 lines
713 B

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);
}