ApplyPalette

procedure ApplyPalette(image: TImage32; const palette: array of TColor32; UseDithering: Boolean = true);

Dithering is recommended for the best results.