| 
 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
 
[Back to original message] 
 |