Adjust in one shot, the brightness, contrast, saturation & gamma on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.
This function is faster than successive calls to any of SetBrightness, SetContrast, SetSaturation & SetGammaCorrection functions.
public GdPictureStatus SetBCSG( int ImageID, int Brightness, int Contrast, int Saturation, int Gamma );
Public Function SetBCSG( ByVal ImageID As Integer, ByVal Brightness As Integer, ByVal Contrast As Integer, ByVal Saturation As Integer, ByVal Gamma As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Brightness |
Brightness adjustment between -100 and 100. |
|
Contrast |
Contrast adjustment between -100 and 100. |
|
Saturation |
Saturation adjustment between -100 and 100. |
|
Gamma |
Gamma adjustment between -100 and 100. |
A member of the GdPictureStatus enumeration.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|