Writing APIC to mp3

The place for "I can't figure out how to..." questions.
Post Reply
GetDarker
User
Posts: 10
Joined: Fri May 18, 2007 11:51 am

Writing APIC to mp3

Post by GetDarker » Thu Aug 23, 2007 2:28 pm

How would I go about writing APIC to an MP3 file?

Would I need to write the contents of the image to the tag?

Lugavchik
User
Posts: 1
Joined: Tue Aug 26, 2008 9:06 pm

Re: Writing APIC to mp3

Post by Lugavchik » Tue Aug 26, 2008 9:11 pm

$TagData['attached_picture'][]=array(
'picturetypeid'=>3, // Cover. More: module.tag.id3v2.php -> function APICPictureTypeLookup
'description'=>'cover', // text field
'mime'=>'image/jpeg', // Mime type image
'data'=>$cover // Image data
);

Post Reply