Performs black & white effect on a GdPicture image or into an area of a GdPicture image defined by SetROI() function using a specific threshold value.
public GdPictureStatus FxBlackNWhiteT( int ImageID, int Threshold );
Public Function FxBlackNWhiteT( ByVal ImageID As Integer, ByVal Threshold As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Threshold |
Value between [1 and 254] The default value is 128 which means '50%'. pixel lighter than 50% => become white, darker => become black. |
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.
|