Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for webp as cover image format #447

Open
Jakobohrnell opened this issue Apr 18, 2024 · 5 comments
Open

Support for webp as cover image format #447

Jakobohrnell opened this issue Apr 18, 2024 · 5 comments

Comments

@Jakobohrnell
Copy link

Hello! I use webp for my cover images but it seems lms does not support this? When it tries to load one I get
[flac @ 0x7a9b5ab43040] Unknown attached picture mimetype: image/webp.

Would this be possible to add? :)

@epoupon
Copy link
Owner

epoupon commented Apr 18, 2024

Hello!
Will tell you :)

@epoupon
Copy link
Owner

epoupon commented Apr 18, 2024

Can you please send me a sample file @ [email protected] ?
It will save me some time

@Jakobohrnell
Copy link
Author

Jakobohrnell commented Apr 18, 2024

Sure thing :) I've sent an email, though I did get a warning the file might be too big.

@epoupon
Copy link
Owner

epoupon commented Apr 19, 2024

Arf I did not receive it :(

@epoupon
Copy link
Owner

epoupon commented May 11, 2024

Ok, managed to find one.
Stb does not seem to support webp. This would require either to switch back to GraphicsMagick++ or to use libwebp + stb to properly decode/resize images. Will make some tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants