Swaps channels.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub SwapChannels ( _ channels As Integer() _ )
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 RGB bitmap, this array will be looking in the following way: (1, 0, 2).bitmap.Channels.SwapChannels(New Integer() {1, 0, 2})
bitmap.Channels.SwapChannels(new int[] {1, 0, 2});