TpsControlInvertImage Method |
This method is used for inverting colors in a bitmap.
The color (109, 21, 165) will be converted to (255,255,255) and vice versa.
The method can be used if no pressed image is available and want to be used.
It is good pratice to save the converted image because the transformation takes time.
Namespace:
ABB.Robotics.Tps.Windows.Forms
Assembly:
ABB.Robotics.Tps.Windows.Forms (in ABB.Robotics.Tps.Windows.Forms.dll) Version: 6.5.129.0
Syntaxpublic static Bitmap InvertImage(
Image originalImage
)
Parameters
- originalImage
- Type: System.DrawingImage
The original image to be converted
Return Value
Type:
BitmapA converted bitmap
See Also