ImageGear Professional for Windows ActiveX
Solarize Method

Description:

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).

Syntax:

Sub Solarize(Page As IGPage, Threshold As Long)

Parameters:

Name Description
Page IGPage Object to which to apply the effect.
Threshold Specifies minimum intensity at which the pixels should be inverted.

Return Value:

N/A

Bits Per Pixel:

All except bitonal, non-gray Indexed and Grayscale with LUT.

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback