ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 get/write exif dates and other dates
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lorife

Italy
44 Posts

Posted - May 30 2023 :  05:44:23  Show Profile  Reply
Hello,

I need to get all the available dates of an image, then choose the minor one and set the exif date of image taken from a camera to the minor one.

How many dates are there, and how can I get them?

For example:
I tried these 3 but they are all empty:

Memo1.Lines.Add(io.Params.EXIF_DateTime);
Memo1.Lines.Add(io.Params.EXIF_DateTimeOriginal);
Memo1.Lines.Add(io.Params.EXIF_DateTimeDigitized);

I don't know if there are others, for example: creation date, modify date..

can you help me? also to set the new date

xequte

38179 Posts

Posted - May 30 2023 :  12:31:59  Show Profile  Reply
Hi

The EXIF dates will only be set for images from digital cameras and mobile phones. All files will have a creation and modify date:

http://www.imageen.com/help/IEGetFileDetails.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

lorife

Italy
44 Posts

Posted - May 30 2023 :  15:12:34  Show Profile  Reply
Hello,
thanks.
Is there a function to write those 3 dates?
Also, in your experience which is the field used by softwares to "see" that an image changed?
For example, if I rotate an image what field do you think that synology photos uses to reload the image in the cache because it changed?
Go to Top of Page

xequte

38179 Posts

Posted - May 31 2023 :  02:16:53  Show Profile  Reply
Please see the example for writing those values at:

http://www.imageen.com/help/TIOParams.EXIF_HasEXIFData.html


To determine when an image has changed in another application, you should just check the File Change Date.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: