Look at IsFileFormatSupported for details.
function ImIsFileFormatSupported(FileName: PAnsiChar): Boolean; cdecl;
ImagingExport (at line 60)