You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Manipulation > AdjustRGB Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.AdjustRGB Method

Increase or decrease color components on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.

C#
public GdPictureStatus AdjustRGB(
    int ImageID, 
    int RedAdjust, 
    int GreenAdjust, 
    int BlueAdjust
);
Visual Basic
Public Function AdjustRGB(
    ByVal ImageID As Integer, 
    ByVal RedAdjust As Integer, 
    ByVal GreenAdjust As Integer, 
    ByVal BlueAdjust As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
RedAdjust 
Value to add to the red component [-255 ; 255].  
GreenAdjust 
Value to add to the green component [-255 ; 255].  
BlueAdjust 
Value to add to the blue component [-255 ; 255].  
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.