mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14160] [MERGED] Add SVG to transparent image types #13864
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14160
Author: @theguymadmax
Created: 5/23/2025
Status: ✅ Merged
Merged: 5/23/2025
Merged by: @crobibero
Base:
master← Head:svg-fix📝 Commits (1)
12876e9Add SVG to transparent image types📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/Jellyfin.Drawing/ImageProcessor.cs(+1 -1)📄 Description
Changes
SVG files were not included in the
_transparentImageTypeslist, which caused them to be rendered with an opaque background. This change adds.svgto that list to preserve transparency when processed.Before:

With Fix:

Issues
Fixes: #13956
Fixes: #3941
Other clients have already implemented workarounds for this issue, ex: #301
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.