By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,558 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

if a have a mass of binary data, which is suppose to be an image, how do I turn it into a file on a harddrive?

P: n/a
I'm pulling data out of an FLAC file. There is an embedded image. I'm
using the great getId3 library (http://getid3.sourceforge.net ).
Among the tags I'm pulling out is a mass of binary data, which is the
embedded JPEG image. How do I turn this mass of info into an actual
image?

Sep 29 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sep 28, 9:17 pm, lawrence k <lkrub...@geocities.comwrote:
I'm pulling data out of an FLAC file. There is an embedded image. I'm
using the great getId3 library (http://getid3.sourceforge.net ).
Among the tags I'm pulling out is a mass of binary data, which is the
embedded JPEG image. How do I turn this mass of info into an actual
image?
Just write the contents to a file:

<http://www.php.net/file_put_contents>

Sep 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.