Creation date/time of a photo JPG in an email attachment

Started by philip_rhoades, April 07, 2021, 11:14:01 PM

Previous topic - Next topic

philip_rhoades

People,

After I have saved a JPG attachment from an email, the date/times are all changed to the date/time of when I do the save - but I want to know the creation date/time of the JPG when the photo was taken - is there some way of doing an exiftool exercise on the base 64 attachment before I save the file?

Thanks,

Phil.

StarGeek

The timestamps you are looking for are probably the file system time stamps, FileModifyDate and FileCreateDate.  These only exist when a file exists.  The act of Base64Encoding a file does not save this data, just like any other file system data such as permissions.

The only way to save such data would be to zip archive (or using a similar archive program) the file before encoding it for email.

You can see all time related tags in the file with this command
exiftool -time:all -G0 -a -s /path/to/files/
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).