From 41b9eb8c0ad5bc746efbd73960dc6c09f1c2b648 Mon Sep 17 00:00:00 2001 From: theguymadmax Date: Fri, 23 May 2025 13:30:35 -0400 Subject: [PATCH] Add SVG to transparent image types (#14160) --- src/Jellyfin.Drawing/ImageProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jellyfin.Drawing/ImageProcessor.cs b/src/Jellyfin.Drawing/ImageProcessor.cs index e0380a99bb..46e5213a8c 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 _transparentImageTypes - = new HashSet(StringComparer.OrdinalIgnoreCase) { ".png", ".webp", ".gif" }; + = new HashSet(StringComparer.OrdinalIgnoreCase) { ".png", ".webp", ".gif", ".svg" }; private readonly ILogger _logger; private readonly IFileSystem _fileSystem;