GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / FxBlackNWhite Method / FxBlackNWhite(Int32,BitonalReduction,Int32) Method
GdPicture image identifier.
A member of the BitonalReduction enumeration.
The color palette weight. Range [1 - 255]. If the value selected is outside the range, minimum or maximum will be automatically selected. Suggested value is 15. Only available for Burke, Stucki & FloydSteinberg Native.Filters.





In This Topic
FxBlackNWhite(Int32,BitonalReduction,Int32) Method
In This Topic
Performs black & white effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method. This method takes a parameter to defines the palette color weight.
Syntax
'Declaration
 
Public Overloads Function FxBlackNWhite( _
   ByVal ImageID As Integer, _
   ByVal Mode As BitonalReduction, _
   ByVal PalWeight As Integer _
) As GdPictureStatus
public GdPictureStatus FxBlackNWhite( 
   int ImageID,
   BitonalReduction Mode,
   int PalWeight
)
public function FxBlackNWhite( 
    ImageID: Integer;
    Mode: BitonalReduction;
    PalWeight: Integer
): GdPictureStatus; 
public function FxBlackNWhite( 
   ImageID : int,
   Mode : BitonalReduction,
   PalWeight : int
) : GdPictureStatus;
public: GdPictureStatus FxBlackNWhite( 
   int ImageID,
   BitonalReduction Mode,
   int PalWeight
) 
public:
GdPictureStatus FxBlackNWhite( 
   int ImageID,
   BitonalReduction Mode,
   int PalWeight
) 

Parameters

ImageID
GdPicture image identifier.
Mode
A member of the BitonalReduction enumeration.
PalWeight
The color palette weight. Range [1 - 255]. If the value selected is outside the range, minimum or maximum will be automatically selected. Suggested value is 15. Only available for Burke, Stucki & FloydSteinberg Native.Filters.

Return Value

A member of the GdPictureStatus enumeration.
See Also