I'm using getID3 to grab all the ID3 data from a bunch of MP3's. The only problem I'm come across is with the album/cover art for the MP3. I'm assuming it is stored as binary, because a long string is return with some crazy text in it. I've never worked with something like this, and struggling with a way to store the image and the display the image on a page.
Anyone got any suggestions?
Displaying Binary Image
Moderator: General Moderators
Re: Displaying Binary Image
If you have GD installed try using ImageCreateFromString(). No idea if it'll work but it'd be amusing to try.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: Displaying Binary Image
I'd assume it's a JPG/PNG/GIF file or something of the sort. Dump the binary representation in a file and then sniff it using finfo or mime and see what comes up.