You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Brightness / Contrast / Saturation / Gamma > SetBCSG Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.SetBCSG Method

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.

C#
public GdPictureStatus SetBCSG(
    int ImageID, 
    int Brightness, 
    int Contrast, 
    int Saturation, 
    int Gamma
);
Visual Basic
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
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.  
Returns

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.