Function for getting pixel colors.
function GetPixel32Generic(Bits: Pointer; Info: PImageFormatInfo; Palette: PPalette32): TColor32Rec;
ImagingFormats (at line 233)
Native pixel is read from Image and then translated to 32 bit ARGB.