FreeImage.NET Class Library Reference
FreeImageBitmapAdjustBrightness Method |
Adjusts the brightness of a 8-, 24- or 32-bit image by a certain amount.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool AdjustBrightness( double percentage )
Parameters
- percentage
- Type: SystemDouble
A value 0 means no change, less than 0 will make the image darker and greater than 0 will make the image brighter.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also