ImageEn, unit iexHelperFunctions

GetExifOrFileCreationDate

GetExifOrFileCreationDate

Declaration

function GetExifOrFileCreationDate(const Filename: string;
                                   bReturnCreateDate: Boolean = true
                                   ): TDateTime;

Description

Calls EXIF_DateTimeOriginal to retrieve the creation date specified in a camera image. If the image does not contain a date, you can optionally return the Windows File Creation Date.

Example

// Get digital camera date for MyImage.jpeg
aCreateDate := GetExifOrFileCreationDate('D:\MyImage.jpeg', True);