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