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
 IEFolderMView1.ImageCreateDate, unclear value ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Nov 28 2022 :  06:20:01  Show Profile  Reply
Hello,
when I use these two functions I sometimes get different values.
Why is that?
According to the description, the result should be the same.

CreateDateS := datetimetostr(GetExifOrFileCreationDate(IEFolderMView1.ImageFileName[x], true));
CreateDateSx := datetimetostr(IEFolderMView1.ImageCreateDate[x]);

if CreateDateS <> CreateDateSx then
// why is it ;


Klaus
DigiFoto
www.klausdoege.de

xequte

38706 Posts

Posted - Nov 28 2022 :  14:30:34  Show Profile  Reply
Hi Klaus

For performance reasons, ImageCreateDate is filled at two different times:
1. Firstly, when the TIEFolderMView is filled and the file date is available, the file date is applied
2. Later, when the image is loaded, the EXIF date (if available) is applied

If you prefer you can disable EXIF date usage with IEGlobalSettings().UseEXIFDateTime := False;

https://www.imageen.com/help/TIEGlobalSettings.UseEXIFDateTime.html


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