Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "date taken" value from image

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi,

I'm trying to get the "date taken" value from an image. I've tried Image::IPTCInfo (which simply says "no IPTC data found), and Image::EXIF, which has loads of info (like lens size, etc), but nothing about the date taken :/

Heres an example image:
If you save this to your PC, then right click - and view "properties", you will see that when you goto "details", it shows stuff like:


(screenshot of what I see)

Can anyone suggest how I can extract this data? (I'm working on a gallery script, and for the "date taken", I want to extract it direct from the image - instead of requiring people to remember dates/manually have to enter the dates)

TIA!

Andy
 
Hi,

Thanks for the reply - will get my host to install that, and let you know how it goes :)

TIA!

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top