Swaps SrcChannel and DstChannel color or alpha channels of palette.
procedure SwapChannelsOfPalette(Pal: PPalette32; Entries: LongInt; SrcChannel: LongInt; DstChannel: LongInt);
Imaging (at line 283)
Use ChannelRed, ChannelBlue, ChannelGreen, ChannelAlpha constants to identify channels. Pal must be allocated to at least Entries * SizeOf(TColor32Rec) bytes.