mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-15 21:43:03 +03:00
Remove CropWhitespace function
This commit is contained in:
@@ -1681,7 +1681,7 @@ namespace Jellyfin.Api.Controllers
|
||||
int? width,
|
||||
int? height,
|
||||
int? quality,
|
||||
bool? cropWhitespace,
|
||||
bool? cropWhitespace, // TODO: Remove
|
||||
bool? addPlayedIndicator,
|
||||
int? blur,
|
||||
string? backgroundColor,
|
||||
@@ -1756,7 +1756,6 @@ namespace Jellyfin.Api.Controllers
|
||||
backgroundColor,
|
||||
foregroundLayer,
|
||||
imageInfo,
|
||||
cropWhitespace.Value,
|
||||
outputFormats,
|
||||
cacheDuration,
|
||||
responseHeaders,
|
||||
@@ -1855,7 +1854,6 @@ namespace Jellyfin.Api.Controllers
|
||||
string? backgroundColor,
|
||||
string? foregroundLayer,
|
||||
ItemImageInfo imageInfo,
|
||||
bool cropWhitespace,
|
||||
IReadOnlyCollection<ImageFormat> supportedFormats,
|
||||
TimeSpan? cacheDuration,
|
||||
IDictionary<string, string> headers,
|
||||
@@ -1868,7 +1866,6 @@ namespace Jellyfin.Api.Controllers
|
||||
|
||||
var options = new ImageProcessingOptions
|
||||
{
|
||||
CropWhiteSpace = cropWhitespace,
|
||||
Height = height,
|
||||
ImageIndex = index ?? 0,
|
||||
Image = imageInfo,
|
||||
|
||||
Reference in New Issue
Block a user