Zeugma440 / atldotnet

Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
MIT License
442 stars 60 forks source link

WebP Image Detection #214

Closed fsobolev closed 11 months ago

fsobolev commented 11 months ago

The problem

Hi! I wasn't sure how to properly name the issue, so let me explain: there are no issues with reading and writing webp covers themselves in music files. The problem is that if a cover is a webp image, ATL doesn't know about its format. In Tagger we allow to export album art from music file, and when doing this the app gets mimetype of the image from ATL, and this mimetype is set in a file chooser. But for webp images it's image/*, so the user doesn't know what is the format of the image. It would be nice if we could get image/webp from ATL for webp images.

Environment

Code To Reproduce Issue [ Good To Have ]

https://github.com/NickvisionApps/Tagger/blob/main/NickvisionTagger.Shared/Controllers/MainWindowController.cs#L863

Zeugma440 commented 11 months ago

Sure, no problem

Zeugma440 commented 11 months ago

Done for next release : cca311f6caf1dca26e41ed9bdb41dd4482e27230

nlogozzo commented 11 months ago

Thanks!! Could we see it today? 👀

Zeugma440 commented 11 months ago

Fix is available in today's v5.01

nlogozzo commented 11 months ago

Fix is available in today's v5.01

Thank you!!!