mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add SVG to transparent image types (#14160)
This commit is contained in:
parent
605b8bb7aa
commit
41b9eb8c0a
@ -34,7 +34,7 @@ public sealed class ImageProcessor : IImageProcessor, IDisposable
|
|||||||
private const char Version = '3';
|
private const char Version = '3';
|
||||||
|
|
||||||
private static readonly HashSet<string> _transparentImageTypes
|
private static readonly HashSet<string> _transparentImageTypes
|
||||||
= new HashSet<string>(StringComparer.OrdinalIgnoreCase) { ".png", ".webp", ".gif" };
|
= new HashSet<string>(StringComparer.OrdinalIgnoreCase) { ".png", ".webp", ".gif", ".svg" };
|
||||||
|
|
||||||
private readonly ILogger<ImageProcessor> _logger;
|
private readonly ILogger<ImageProcessor> _logger;
|
||||||
private readonly IFileSystem _fileSystem;
|
private readonly IFileSystem _fileSystem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user