ImageTaskBaseTBrightnessContrast Method
Adjusts brightness and contrast of the current image by the given amounts simultaneously.
The command is added to the chain and not executed until the actual processing is done.
Namespace: GleamTech.ImageUltimateAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
public T BrightnessContrast(
double brightnessAmount,
double contrastAmount
)
Public Function BrightnessContrast (
brightnessAmount As Double,
contrastAmount As Double
) As T
- brightnessAmount Double
-
The brightness amount between -100 and 100.
If it is more than 0, the image is brightened (100 will make the image completely white).
If it is less than 0, the image is darkened (-100 will make the image completely black).
0 will cause no changes.
- contrastAmount 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.
TThe same instance of this class.