Procedure for setting pixel colors.
procedure SetPixel32Generic(Bits: Pointer; Info: PImageFormatInfo; Palette: PPalette32; const Color: TColor32Rec);
ImagingFormats (at line 237)
Input 32 bit ARGB color is translated to native format and then written to Image.