Adjust the saturation on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.
public GdPictureStatus SetSaturation( int ImageID, int Saturation );
Public Function SetSaturation( ByVal ImageID As Integer, ByVal Saturation As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Saturation |
Saturation adjustment between -100 and 100. |
A member of the GdPictureStatus enumeration.
Increase & Decrease saturation
'To increase saturation of 10% m_Stat = oGdPictureImaging.SetSaturation(ImageID, 10) 'To decrease saturation of 10% m_Stat = oGdPictureImaging.SetSaturation(ImageID, -10)
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|