SwapChannels Function
Imaging

Swaps SrcChannel and DstChannel color or alpha channels of image.

Pascal
function SwapChannels(var Image: TImageData; 
                      SrcChannel: LongInt; 
                      DstChannel: LongInt): Boolean;
File

Imaging (at line 173)

Description

Use ChannelRed, ChannelBlue, ChannelGreen, ChannelAlpha constants to identify channels.

Related Information
You are here: Symbol Reference > Functions > SwapChannels Function