mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[10.7-RC] Skia fails on uploaded posters #2332
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?
Originally created by @Shadowghost on GitHub (Dec 5, 2020).
Describe the bug
Uploading posters works but they're never shown because Skia errors out.
System (please complete the following information):
To Reproduce
Expected behavior
Properly process the uploaded picture and show it.
Logs
@stopforumspam commented on GitHub (Dec 15, 2020):
I see this with uploaded posters as the uploaded image is saved as poster.jpg in base64 format.
Browser Opera Version:72.0.3815.400 on Windows 10 x64
@stopforumspam commented on GitHub (Dec 15, 2020):
@nyanmisaka commented on GitHub (Dec 15, 2020):
In apiclient,
FileReader.readAsDataURLencoded the image as base64, while server didn't decode that before image processing.37d982976a/src/apiClient.js (L2050)