file moditication date to exif date

Started by juanjo, September 26, 2017, 06:11:39 PM

Previous topic - Next topic

juanjo


It seems that Whatsapp photos doesn't keep metadata information. I want to populate exif date with file modification date, as it is the most aproximate date I can get.

I would need some macro that when I import an image, checks if there is an exif date, and if not, it populates all exif dates with file modification date. I have no clue how to do it. Anyone can help?

Thanks

Mario

WhatsApp photo (or most other smart phone applications) don't do metadata.
Images taken with WA are usually just used for sending, not for keeping.

EXIF data has been designed to be written by the camera or other recording devices. Not to be added later by some software.


When you change date and time (XMP, in the Metadata Panel) and the original image has an EXIF record, IMatch will update both XMP and EXIF. Else it will only write XMP, in accordance with the rules and recommendations of the Metadata Working Group.

You can fill any of the proper "Created" or "Digitized" XMP timestamps from another date and time time tag using a Metadata Template.
For example, if you use this variable as the source

{File.Modified|format:YYYY-MM-DD hh:mm:ss}

you get the "last modified on disk" file system date. And in the format expected for a XMP date and time variable. Maybe add a zime zone indicator as well, depending on your requirements:

{File.Modified|format:YYYY-MM-DD hh:mm:ss+02:00}

for Germany, for example.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook