ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / EqualizeContrast Method / EqualizeContrast(ImGearRasterPage) Method
Page to equalize.




In This Topic
EqualizeContrast(ImGearRasterPage) Method
In This Topic
Equalizes image contrast.
Syntax
'Declaration
 
Public Overloads Shared Sub EqualizeContrast( _
   ByVal page As ImGearRasterPage _
) 
 
'Usage
 
Dim page As ImGearRasterPage
 
ImGearRasterProcessing.EqualizeContrast(page)

Parameters

page
Page to equalize.
Remarks
If the image is indexed and not grayscale, it modifies the image's palette, otherwise it modifies the image's pixels. It processes only color channels.

This method can be applied only to the raster pages with standard (non Run-Ends) DIB.

Use CanApplyEqualizeContrast method to check whether the operation can be performed.

See Also