DetermineFileFormat Function
Imaging

Checks given file for every supported image file format and if the file is in one of them returns its string identifier (which can be used in LoadFromStream/LoadFromMem type functions).

Pascal
function DetermineFileFormat(const FileName: string): string;
File

Imaging (at line 78)

Description

If file is not in any of the supported formats empty string is returned.

Related Information
You are here: Symbol Reference > Functions > DetermineFileFormat Function