Description Returns the file format of the specified file.
Usage Format = [BiDib.]GetImageFormat FileName
Remarks Format Integer The format identifier of the given file. Enumeration of the returned values:
imgffUnknown Unknown file format.
imgffTiff Tagged Image File Format.
imgffPcx Zsoft PCX file format.
imgffDcx Zsoft DCX file format.
imgffGif Graphics Intercange File format.
imgffTga Targa Image file format.
imgffBmp Windows Bitmap file format.
imgffWmf Windows Metafile file format.
imgffClp Windows Clipboard file format.
imgffFax ColorFax file format.
imgffCals IBM CALS file format.
imgffMODCA MO:DCA file format.
FileName String The source file name.
Programming notes The GetImageFormat method determines the file format based on the file content, not the extension, so any extension can be used for the files.