This method adjusts contrast, brightness, and gamma.
Syntax
'Declaration
Public Overloads Shared Sub AdjustContrast( _
ByVal As ImGearRasterPage, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As ImGearContrastModes, _
ByVal As ImGearChannelRange _
)
'Usage
Dim page As ImGearRasterPage
Dim contrast As Double
Dim brightness As Double
Dim gamma As Double
Dim mode As ImGearContrastModes
Dim channels As ImGearChannelRange
ImGearRasterProcessing.AdjustContrast(page, contrast, brightness, gamma, mode, channels)
Parameters
- page
- Image to adjust contrast.
- contrast
- Contrast value.
- brightness
- Brightness value.
- gamma
- Gamma value.
- mode
- One of the following values: ImGearContrastModes.PALETTE - image palette is adjusted. If the image does not have a palette then an exception will be generated ImGearContrastModes.PIXEL - image pixels are adjusted ImGearContrastModes.AUTO - adjust mode depends on the image color space.
- channels
- Structure that defines the channel range to process.
See Also