This function retrieves various information from the raw image data.

[C++Builder]   BOOL IKFileTypeMem(HANDLE Handle, int Page, PTR_IKFILE_INFO FileType);
[Delphi]   function IKFileTypeMem(Handle: THandle; Page: Integer; var FileType: IKFILE_INFO): LongBool;

Parameters

Name Explanation
Handle The raw image data from which information is retrieved
Page The page number of the image file (starts from 0)
FileType The structure (user-defined type) parameter containing the retrieved information

Return Value

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

Explanation

The IKFileTypeMem function retrieves various information from the raw image data. If successful, the image information will be set into the FileType member variables. For more information about the user functions please refer to the Definition of User Function in the Ik10File.dll, Ik10FileA.dll, Ik10File64.dll, Ik10File64A.dll

Even if the image format is supported, if no value has been set then that FileType member variable will return 0 or empty string. The member variables referring to the file creation datetime, file access datetime, and file modification datetime will be set with 0.

Regarding IKFILE_INFO, please refer to the explanation about IKFILE_INFO member variables in Ik10File.dll, Ik10FileA.dll, Ik10File64.dll, Ik10File64A.dll.

Except for the fact that the information is retrieved from raw image data, this function operates in the same way as the IKFileType function.

 

The ImageKit10 VCL is a product created by Newtone Corporation