Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Image to process.
- threshold
- Lightness threshold above which colors of pixels are inverted.
- mode
- One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
- channels
- Channel range to solarize.
- options
- Additional contrast options.
This method is not valid for use on 1-bit images.
The threshold is a value from 0 to the maximum value for a channel in the image. For example, if the image is 24bpp RGB, the threshold ranges from 0 to 255.