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