ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > StretchContrast Method |
Automatically adjusts the contrast of an image so that at least one pixel is completely black and one pixel is completely white. This fills the entire range of the pixel intensities. The original pixel intensities are adjusted linearly between the 2 extremes. (If the image already fills the entire range then the image is not altered.)
Images that use the entire range often appear richer and the colors display more vivid.
StretchContrast (ByVal pPage As IGPage)
Name | Description |
---|---|
pPage | Reference to IGPage Object to which the contrast adjustment is applied. |
N/A
Image Processing and Effects