You are here: Re: Extracting image metadata of multiple files « PHP Programming Language « IT news, forums, messages
Re: Extracting image metadata of multiple files

Posted by Andy Hassall on 09/07/05 00:00

On 6 Sep 2005 12:39:36 -0700, goldtech@worldpost.com wrote:

>Right-click on a jpeg in XP click "summary" tab and there are metadata
>fields. My questions are:
>
>How can I extract this data for each jpeg?

http://uk.php.net/exif

>Is this exif data is it some proprietary MS format?

http://www.google.co.uk/search?q=exif
http://en.wikipedia.org/wiki/Exif

>If I have hundreds of images is it possible to "program" this ie. loop
>and put data in a flat text file?

Yes. The following functions would cover most of this.

http://uk.php.net/manual/en/function.fopen.php
http://uk.php.net/manual/en/function.opendir.php
http://uk.php.net/manual/en/control-structures.while.php
http://uk.php.net/manual/en/function.readdir.php
http://uk.php.net/manual/en/function.exif-read-data.php
http://uk.php.net/manual/en/function.fwrite.php
http://uk.php.net/manual/en/function.fclose.php

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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