0
0

Hey, wow, its been a while since I’ve posted here. Anyways, I was wondering if I could get some information about the APIC ID3v2 frame. Im confused as to how to process the data. It is returned to me as a pointer, but Im not sure what the pointer is pointing too, whether it is an ipicturedisp object, or something else. Does anybody have any example showing how to view an attached image from an MP3? Thanks

Paranoid_Android

  • You must to post comments
0
0

Check out the APIC section of the id3 specs here :

[url:3cclqqtf]http://www.id3.org/id3v2.4.0-frames.txt[/url:3cclqqtf]

Cheers,

  • You must to post comments
0
0

Hi, thanks for the link. I can tell that a JPEG image is there because the pointer gives me the mimetype “mime/jpeg”. But, according to the ID3v2 document the image is stored as binary data. This stumps me again because I can’t just copy the binary data into a picturebox, its not that simple. Im sure that this isnt a hard thing to do, but I have no experience with images, so if anybody knows how to read an image from a pointer I would appreciate the help. Thanks.

Gabriel

  • You must to post comments
0
0

i imagine the easiest way to do it would be to save the data to a temporary file then load it in with a jpeg library

  • You must to post comments
0
0

Thanks, I will try that.

  • You must to post comments
0
0

Ok, cool, it worked. I figured the only way to save it file would be to copy it over into a byte array first. So after copying it to the array I wrote it to a file, and it worked. Thanks for the help.

Gabriel

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.