Tp.Data = new TagLib.ByteVector(imgageData) Ĭhanges made by this works for VLC media player(I did not check for any other player). = listpic.ToArray() įoreach (TagLib.IPicture tp in ) = new Bitmap(image) ĭata = new TagLib.ByteVector(imgageData), Stream image = new MemoryStream(.Data) I tried my best to change mp3 album art file. Obviously using the memory stream functions etc. Does any-one know how to 'flip' it so that it would look something like. This code above will read an existing tag and load the image into a picture box called 'Album Art'. If >= 1 Thenĭim bin = DirectCast((0).Data.Data, Byte())ĪlbumArt.Image = Image.FromStream(New MemoryStream(bin)).GetThumbnailImage(115, 115, Nothing, ) I have found some sample code to read the image back from the tag using their library, I just can't work out what it would look like the other way around. but I want to include an image in my MP3 files, like album art. Everything so far works, including tagging the 'Artist, Title, Album' etc. Unfortunately the documentation is a bit patchy to say the least and their (Official) website, which contains all the documentation seems to have closed down, leaving me to download this MP3 tagging library from the link below. I'm using this MP3 tagging library called TagLib# or TagLibSharp. Hi everyone, I've got myself into a mess and hope some-one here can help out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |