ImageGear Professional for Windows ActiveX
StretchContrast Method

Description:

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.

Syntax:

      StretchContrast (ByVal pPage As IGPage)

Parameters:

Name Description
pPage Reference to IGPage Object to which the contrast adjustment is applied.

Return Value:

N/A

Bits Per Pixel:

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback