You are here: Re: 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? « PHP Programming Language « IT news, forums, messages
Re: 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?

Posted by ZeldorBlat on 09/29/07 12:54

On Sep 28, 9:17 pm, lawrence k <lkrub...@geocities.com> wrote:
> 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>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация