TImage32.LoadFromFile

function LoadFromFile(const filename: string): Boolean;

Requires a TImageFormat registered with TImage32 that's associated with filename's extension.

See Also

RegisterImageFormatClass, TImageFormat, Image32_BMP, Image32_JPG, Image32_PNG