NiKoTron / dart-tags

ID3 Tag parser written on the pure dart language.
https://pub.dartlang.org/packages/dart_tags
MIT License
37 stars 16 forks source link

DTB-It can't decode album cover image of some mp3 files. #29

Open marctan opened 3 years ago

marctan commented 3 years ago

Describe the bug It cannot decode the album image of some mp3 files. I've also tried pasting the imageData(Base64 string) that I got from tag.tags['picture'] into https://base64.guru/converter/decode/file just to check if it will work but it also failed.

Environment

To Reproduce Steps to reproduce the behavior:

  1. Get the imagebytes from tag.tags['picture'] imageData from an mp3.
  2. Display into Image.memory

Produces exception since imageData is invalid.

NOTE: Some mp3s are working and some are not. If you want me to send the sample mp3 file, please let me know your email.

Thanks

AhmadFadilB commented 3 years ago

Same issue here