[ID3 Dev] How to extract the image from MP3 file?

Gaurav Arora arora at pv.com
Tue Jan 27 02:40:43 PST 2009


Please refer this link:
http://id3.org/id3v2.4.0-frames?highlight=%282.4%29
 
4.14.   Attached picture

   This frame contains a picture directly related to the audio file.
Image format is the MIME type and subtype [MIME] for the image. In   the
event that the MIME media type name is omitted, "image/" will be
   implied. The "image/png" [PNG] or "image/jpeg" [JFIF] picture format
   should be used when interoperability is wanted. Description is a
   short description of the picture, represented as a terminated
text string. There may be several pictures attached to one file, each
in their individual "APIC" frame, but only one with the same content
   descriptor. There may only be one picture with the picture type
   declared as picture type $01 and $02 respectively. There is the
   possibility to put only a link to the image file by using the 'MIME
   type' "-->" and having a complete URL [URL] instead of picture data.
   The use of linked files should however be used sparingly since there
   is the risk of separation of files.

     <Header for 'Attached picture', ID: "APIC">
     Text encoding      $xx
     MIME type          <text string> $00
     Picture type       $xx
     Description        <text string according to encoding> $00 (00)
     Picture data       <binary data>




________________________________

From: Pramoda M. A [mailto:Pramoda.A at kpitcummins.com] 
Sent: Tuesday, January 27, 2009 3:56 PM
To: id3v2 at id3.org
Subject: [ID3 Dev] How to extract the image from MP3 file?



Hi All,

 

How to extract the image file from MP3 files in C program?

How to know the end of image file?

 

Could anybody help me please?

 

With Regards

Pramoda.M.A

KPIT Cummins Infosystems Limited | Bengaluru | Board: +91 80 30783905

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.id3.org/pipermail/id3v2/attachments/20090127/985e9b5f/attachment.html>


More information about the ID3v2 mailing list