The place for "I can't figure out how to..." questions.
- Posts: 1
- Joined: Mon Apr 11, 2005 3:41 am
Is thee a way to show the image from a MP3 with out it having to extract it i was thinking something like a base64 decode or something.
- getID3() v1 developer
- Posts: 1476
- Joined: Fri May 04, 2001 4:00 pm
- Are you a spambot?: no
- Location: Northern Ontario, Canada
An image embedded in an MP3 is typically is the ID3v2 tag, under [APIC]. The data is available in the returned structure, and it's raw binary data, it can be written to a file or echoed to the browser (with an appropriate Content-type: header).
- Posts: 2
- Joined: Thu Feb 01, 2007 6:46 am
Could you please show us some code that does this.
$picture = $ThisFileInfo['id3v2']['APIC']['data'];
That code above will not pull anything.