| ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > Solarize Method |
Mimics the accidental exposure of photographic film to light, by inverting the colors of pixels whose lightness exceeds a given threshold. To calculate the threshold, use the following formula:
2^bpc (i.e., 24bit RGB is 8bpc, 2^8 = 256, hence the range is 0 to 256).
Sub Solarize(Page As IGPage, Threshold As Long)
| Name | Description |
|---|---|
| Page | IGPage Object to which to apply the effect. |
| Threshold | Specifies minimum intensity at which the pixels should be inverted. |
N/A
All except bitonal, non-gray Indexed and Grayscale with LUT.
Image Processing and Effects