taiga icon indicating copy to clipboard operation
taiga copied to clipboard

MAL API may respond with WEBP as the main picture

Open koteq opened this issue 2 months ago • 0 comments

Well, I'm not sure if Taiga can, or even should handle this case, but still, I want to open an issue to register an odd edge case.

Here is an example, when I open the Anime Information dialog for Jujutsu Kaisen 2nd Season it shows me a question mark.

image

While in logs, I see Taiga attempts to download https://cdn.myanimelist.net/images/anime/1792/138022.webp image.

2024-05-26 21:00:03 [Debug] http.cpp:128 taiga::http::detail::SendRequest | URL: https://cdn.myanimelist.net/images/anime/1792/138022.webp
2024-05-26 21:00:08 [Debug] http.cpp:128 taiga::http::detail::SendRequest | URL: https://cdn.myanimelist.net/images/anime/1792/138022.webp

Taiga even writes the WEBP image under Taiga\data\db\image\51009.jpg, even though it isn't a valid JPEG.

image

koteq avatar May 26 '24 17:05 koteq