This function retrieves information about the primary image and thumbnail image from an Exif (JPEG) file.

[C++Builder]   BOOL IKJpegExifInfo(LPCTSTR FileName, PTR_EXIF_INFO ExifInfo);
[Delphi]   function IKJpegExifInfo(FileName: PChar; var ExifInfo: EXIF_INFO): LongBool;

Parameters

Name Explanation
FileName The name of the file whose information is retrieved
ExifInfo The structure (user-defined type) containing the retrieved Exif information

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The IKJpegExifInfo function retrieves information about the primary image and thumbnail image from an Exif (JPEG) file.

If successful, the retrieved values are set into the ExifInfo member variables. Because the thumbnail image handle is set into ThumbImageInfo.ThumbImageHandle, please be sure to free it from the memory using the IKFreeMemory function. For details about the EXIF_INFO structure, please refer to the explanation of the EXIF_INFO member variables in the Ik10File.dll, Ik10FileA.dll, Ik10File64.dll, Ik10File64A.dll section.

To load the primary image of an Exif(JPEG) file please use the IKFileLoad or IKJpegFileLoad function.

[Regarding the retrieved information]

The ImageKit retrieves Exif(JPEG) image infromation by executing the IKJpegExifInfo function. It should be noted that even though this function is properly executed, because of variations in the features of different digital camera equipment and the subsequent differences in the quality of images, not all information can be retrieved in every case. For more information, please refer to Japan Electronic Industry Development Association, "Digital Still Camera Image File Format Standard (Exchangeable image file format for Digital Still Camera: Exif)"Version 2.1, June 1998.

[Structure of Exif Image Information]

Differences from ImageKit7

IntOpeInfo has been added to the EXIF_INFO structure

 

The ImageKit10 VCL is a product created by Newtone Corporation