Visual Basic
C#
Managed Extensions for C++
C++/CLI
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 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 channel range to process.
- options
- ImGearContrastOptions class object.
Processes the specified range of channels.
Can be applied only to raster pages with standard (non Run-Ends) DIB.
If ContrastMode is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use method ImGearRasterProcessingVerifier.CanApplyAdjustContrast method to check whether the operation can be performed.