diff options
| author | theguymadmax <theguymadmax@proton.me> | 2025-05-23 13:30:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 11:30:35 -0600 |
| commit | 41b9eb8c0ad5bc746efbd73960dc6c09f1c2b648 (patch) | |
| tree | b137c1f549e0311f8e95a2258ee851392ffeb508 | |
| parent | 605b8bb7aa2f3f48a9158859de6ffdc20baf055a (diff) | |
Add SVG to transparent image types (#14160)
| -rw-r--r-- | src/Jellyfin.Drawing/ImageProcessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jellyfin.Drawing/ImageProcessor.cs b/src/Jellyfin.Drawing/ImageProcessor.cs index e0380a99b..46e5213a8 100644 --- a/src/Jellyfin.Drawing/ImageProcessor.cs +++ b/src/Jellyfin.Drawing/ImageProcessor.cs @@ -34,7 +34,7 @@ public sealed class ImageProcessor : IImageProcessor, IDisposable private const char Version = '3'; 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 IFileSystem _fileSystem; |
