ImageTaskBase<T>.Brightness Method
Definition
- Namespace
- GleamTech.ImageUltimate
- Assembly
- GleamTech.ImageUltimate.dll
Adjusts brightness of the current image by the given amount. The command is added to the chain and not executed until the actual processing is done.
public T Brightness(double amount)
Parameters
amountdoubleThe 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.
Returns
- T
The same instance of this class.