Swaps channels.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void SwapChannels(
int[] channels
)
Type: System.Int32[]
An array of channel indices sorted in the necessary order. E.g. if you need to swap blue and green channel in an RGB bitmap, this array should contain:(1, 0, 2)
.bitmap.Channels.SwapChannels(new int[] { 1, 0, 2 });