Parameters
- page
- Image to process.
- mode
- One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
- channels
- Channel range to process.
If ContrastMode
is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use ImGearRasterProcessingVerifier.CanApplyStretchContrast method to check whether the operation can be performed.