|
-
Dec 14th, 2006, 01:08 AM
#1
Thread Starter
Fanatic Member
Embed Artwork in ID3 Tags
I have no idea what category this question should fall in so mods please move it necessary.
I'm wondering if it is possible to embed artwork in the ID3 tags used by MP3 files.
I have done some searching an most places say it's "possible" but no explaniation of how to accomplish it.
-
Dec 14th, 2006, 05:49 AM
#2
Re: Embed Artwork in ID3 Tags
Yes it is quite possible, but only in ID3v2 Tag. You need the ID3v2_HeaderData type for this:
VB Code:
Private Type ID3v2_HEADERDATA
Size As Long 'tag size (without header & footer)
Version As String * 3 'tag version
FlagUnsync As Boolean 'unsynchronisation
FlagExtended As Boolean 'tag has extended header
FlagExperimental As Boolean 'tag is experimental
FlagFooter As Boolean 'tag has a footer
FlagUpdate As Boolean 'tag is an update
FlagCRC32 As Boolean 'extended header includes CRC-32
FlagRestricted As Boolean 'tag restrictions
CRC32 As Long 'CRC-32 value
ResSize As ID3V2_RESTRICT_SIZE 'restrict size
ResCharCode As Boolean 'restrict character coding
ResChar As ID3V2_RESTRICT_CHARS 'restrict characters in frame data
ResPngJpeg As Boolean 'restrict images to PNG and JPEG
ResImg As ID3V2_RESTRICT_IMAGE 'restrict image size
Corrupt As Boolean 'is corrupt according to CRC-32
End Type
The ResImg would support images etc. But believe it or not, this is quite a tedious task and you may not find any example easily.
Hope it helps you!!
-
Dec 14th, 2006, 12:51 PM
#3
Thread Starter
Fanatic Member
Re: Embed Artwork in ID3 Tags
Well that's a good starting point and I figured it would be a challenge since there isn't any examples.
But I will give it the ole college try! 
Thanks
-
Dec 27th, 2006, 01:01 PM
#4
Lively Member
Re: Embed Artwork in ID3 Tags
I'm not to happy how MS did this but it still does what your asking...
check this out.
http://msdn.microsoft.com/msdnmag/is...4/EditorsNote/
If your post is resolved, mark it as such using the thread tools, Keep the forums tidy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|