Look at GetPixel32 for details.
function ImGetPixel32(const Image: TImageData; X: LongInt; Y: LongInt): TColor32Rec; cdecl;
ImagingExport (at line 154)