Forum Moderators: coopster

Message Too Old, No Replies

Advanced Image information extraction

         

havoc

12:12 pm on Oct 5, 2003 (gmt 0)

10+ Year Member



Im starting up my own photography site (yay for me).

What i am after is if anyone know a php script that will extract advanced image information from a jpg.

Im talking about when you goto to properties of an image and you see something like this.

Camera make:
Camera Model:
F/Number:
Exposure:

Has anyone written a script that extracts all this info?
If not i will probably give it a go :)

jatar_k

3:49 pm on Oct 5, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I found this function maybe it will work

If you have PHP compiled with --enable-exif you are able to work with information stored in headers of JPEG and TIFF images. This way you can read meta data generated by digital cameras as mentioned above. These functions does not require the GD library.

exif_read_data [ca.php.net]

exif_read_data -- Reads the EXIF headers from JPEG or TIFF. This way you can read meta data generated by digital cameras.

rincey

10:28 am on Oct 6, 2003 (gmt 0)

10+ Year Member



if you don't have exif_read_data enabled in your PHP version, try searching google for "exif php class" and use the PHP class provided by sanisoft.

Ad