mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Move SkiaSharp related code to Jellyfin.Drawing and IImageEncoder
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Drawing;
|
||||
|
||||
namespace MediaBrowser.Controller.Drawing
|
||||
@@ -81,5 +82,15 @@ namespace MediaBrowser.Controller.Drawing
|
||||
/// <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);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new jpeg trickplay grid image.
|
||||
/// </summary>
|
||||
/// <param name="options">The options to use when creating the image. Width and Height are a quantity of tiles in this case, not pixels.</param>
|
||||
/// <param name="quality">The image encode quality.</param>
|
||||
/// <param name="imgWidth">The width of a single trickplay image.</param>
|
||||
/// <param name="imgHeight">Optional height of a single trickplay image, if it is known.</param>
|
||||
/// <returns>Height of single decoded trickplay image.</returns>
|
||||
int CreateTrickplayGrid(ImageCollageOptions options, int quality, int imgWidth, int? imgHeight);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user