Look at NewImage for details.
function ImNewImage(Width: LongInt; Height: LongInt; Format: TImageFormat; var Image: TImageData): Boolean; cdecl;
ImagingExport (at line 47)