Adjusts the brightness of a 8-, 24- or 32-bit image by a certain amount.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function AdjustBrightness ( _
dib As FIBITMAP, _
percentage As Double _
) As Boolean |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- percentage
- Type: System..::.Double
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
Returns true on success, false on failure.
Version Information
FreeImage.NET
Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1
See Also