ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / InvertContrast Method / InvertContrast(ImGearRasterPage) Method
Image to invert contrast.




InvertContrast(ImGearRasterPage) Method
Inverts image contrast.
Syntax
'Declaration
 
Public Overloads Shared Sub InvertContrast( _
   ByVal page As ImGearRasterPage _
) 
 
'Usage
 
Dim page As ImGearRasterPage
 
ImGearRasterProcessing.InvertContrast(page)

Parameters

page
Image to invert contrast.
Remarks
If the image is indexed and the palette is not grayscale, this method modifies image's palette, otherwise it modifies image's pixels. The method processes only color channels.

Use ImGearRasterProcessingVerifier.CanApplyInvertContrast method to check whether the operation can be performed.

Example
See Also