Page 1 of 1

Exif data on attachments

Posted: Wed Apr 03, 2024 1:47 am
by caine
Either add the "Date Taken" exif data to the individual attachment get request or, allow a get request to gather the exif data. (/exif?columns=dateTime)

Purpose - to rename attachments to include the date and time taken. Currently setting a header Range: bytes=0-4000 works to grab the first few kb which usually would contain the exif data. Then need to process the data to parse the exif and grab the date time data. Then sending a patch request back to the update the attachment name.

(Would be really nice to just tick a feature in simpro for this to happen automatically.)