aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheguymadmax <theguymadmax@proton.me>2025-05-23 13:30:35 -0400
committerGitHub <noreply@github.com>2025-05-23 11:30:35 -0600
commit41b9eb8c0ad5bc746efbd73960dc6c09f1c2b648 (patch)
treeb137c1f549e0311f8e95a2258ee851392ffeb508
parent605b8bb7aa2f3f48a9158859de6ffdc20baf055a (diff)
Add SVG to transparent image types (#14160)
-rw-r--r--src/Jellyfin.Drawing/ImageProcessor.cs2
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;