Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: [1.6] embedded webp images + album_art_data_ptr (Read 783 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.



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).


 
SimplePortal 1.0.0 RC1 © 2008-2021