Available in the LEADTOOLS Imaging toolkit. |
SwapColors method (Main Control)
Visual Basic
example
Visual
C++ 5.0 example
Syntax short SwapColors(short iFlags);
Overview: Refer to Correcting Colors.
Remarks
Swaps the specified color channels.
This method can process the whole image or a region of the image.
This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
See Also
Elements: ConvertToColoredGray method, BalanceColors method, GrayScale method, GrayscaleExt method, IsGrayscale property