[ID3 Dev] Image frame question

Mitchell S. Honnert mitch at honnert.com
Wed Jan 25 12:27:39 PST 2006


>Is there some simple search
>criterion, such as a 0/1 flag, that'll yield a "" if no image is present
>and a "{data}" if an image is present?
Yes, there is a simple criterion, the presence of the string "APIC" in the
tag.

See here for details...
http://www.id3.org/id3v2.3.0.html#sec4.15

Mitchell S. Honnert
www.UltraID3Lib.com


-----Original Message-----
From: Morton, Christopher [mailto:CMorton at caiso.com] 
Sent: Wednesday, January 25, 2006 3:18 PM
To: id3v2 at id3.org
Subject: RE: [ID3 Dev] Image frame question

Thanks. I'm wanting to simply do a "read" on an MP3 and easily determine
if the image art is included or not. Is there some simple search
criterion, such as a 0/1 flag, that'll yield a "" if no image is present
and a "{data}" if an image is present?

-----Original Message-----
From: Andy Kernahan [mailto:andrew.kernahan at btinternet.com] 
Sent: Wednesday, January 25, 2006 12:12 PM
To: id3v2 at id3.org
Subject: Re: [ID3 Dev] Image frame question

Hi Chris,

I am not sure what you are asking. Are you asking if the picture frame
is 
always in the same place within the tag? If so, the answer it no; it can
be 
anywhere.
If you are asking if the binary data is always in the same place in the 
frame, then the answer is also no; the binary data will always be a
minimum 
of 14 bytes
from the start of the frame header, but it varies depending on the
length of 
the mime-type and description fields.

Andy.

----- Original Message ----- 
From: "Morton, Christopher" <CMorton at caiso.com>
To: <id3v2 at id3.org>
Sent: Wednesday, January 25, 2006 7:57 PM
Subject: [ID3 Dev] Image frame question


Hi,

Is the <picture data> field always in the same frame location? If so,
what is that position? I'm attempting to create a tiny little tool that
simply tells me whether or not a given MP3 file has album art embedded
in the tag.

Thanks > Chris Morton


---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org




---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org




---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org


---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org



More information about the ID3v2 mailing list