Tao.DevIl SDK Documentation

Ilu.iluSwapColours Method 

iluSwapColours "swaps" the colour order of the current image. If the current image is in bgr(a) format, iluSwapColours will change the image to use rgb(a) format, or vice-versa. This can be helpful when you want to manipulate the image data yourself but only want to use a certain colour order. To determine the current colour order, call ilGetInteger with the IL_IMAGE_FORMAT parameter.

[Visual Basic]
Public Shared Function iluSwapColours() As Boolean
[C#]
public static bool iluSwapColours();

Return Value

See Also

Ilu Class | Tao.DevIl Namespace