ImageTaskBaseTContrast Method

Adjusts contrast of the current image by the given amount. The command is added to the chain and not executed until the actual processing is done.

Definition

Namespace: GleamTech.ImageUltimate
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 5.8.8
C#
public T Contrast(
	double amount
)

Parameters

amount  Double
The contrast amount between -100 and 100. If it is more than 0, the contrast is increased (100 will set the image contrast to the maximum). If it is less than 0, the contrast is decreased (-100 will make the image completely gray). 0 will cause no changes.

Return Value

T
The same instance of this class.

See Also