Closed leo60228 closed 2 years ago
Hm, I can't reproduce this. What's the size and format of the picture?
It's an 82KB 700x700 JPEG.
I was able to reproduce the issue with https://homestuck.bandcamp.com/track/purple-tyrant (free download) and https://hsmusic.wiki/media/album-art/coloUrs-and-mayhem-universe-a/purple-tyrant.jpg.
Thanks! It should be fixed in https://github.com/Serial-ATA/lofty-rs/commit/41e4b1a8835422e8ebeed11b54135a9bbbe2c5a9. Could you try it out?
That fixed it, thanks!
The fix was published in 0.5.3
:)
I tried this code:
Describe the bug Adding a picture to an Ogg Vorbis file corrupts it, giving this error from ffmpeg:
The same code works for adding pictures to FLAC and MP3, and for adding textual metadata to Ogg Vorbis.
Expected behavior I expected adding a picture to an Ogg Vorbis file to give a valid resulting file, or at least give a proper error.
Assets I'm not able to redistribute the files I'm testing with, I can try to make a standalone reproducer if necessary.