Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Page to equalize.
- mode
- One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
- channels
- Channel range to apply EqualizeContrast.
If image is Indexed and not grayscale, modifies image's palette, otherwise modifies image's pixels. Processes only color channels.
It 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 ImGearRasterProcessingVerifier.CanApplyEqualizeContrast method to check whether the operation can be performed.