Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [1.6] embedded webp images + album_art_data_ptr (Read 2035 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[1.6] embedded webp images + album_art_data_ptr

I have some code which creates a Gdiplus::Bitmap from an album_art_data_ptr and I was surprised that it handles external webp images without me having to make any changes. You must have performed some "magic" to make this happen so thanks!

However, it doesn't work if the album_art_data_ptr is sourced from an embedded webp. Could this be "fixed" or is there something else that needs doing my side? Obviously they display fine in the DUI artwork panel/Properties.

Re: [1.6] embedded webp images + album_art_data_ptr

Reply #1
Wait for the new SDK, it will provide an updated helper to turn album_art_data payload into Gdiplus::Bitmap, detecting and transparently decoding WebP data.
Microsoft Windows: We can't script here, this is bat country.


 

Re: [1.6] embedded webp images + album_art_data_ptr

Reply #4
New SDK posted, use fb2k::imageLoaderLite.
The new API was added in 1.6 beta 8. Also, current implementation doesn't initialize gdiplus as documented (final version will).
Microsoft Windows: We can't script here, this is bat country.