![]() |
Performs black & white effect on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.
This function takes a parameter to defines the palette color weight.
public GdPictureStatus FxBlackNWhite( int ImageID, BitonalReduction Mode, int PalWeight );
Public Function FxBlackNWhite( ByVal ImageID As Integer, ByVal Mode As BitonalReduction, ByVal PalWeight As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Mode |
A member of the BitonalReduction enumeration. |
|
PalWeight |
The color palette weight. Must be > 0. Default value is 15. Only available for Burke, Stucki & FloydSteinberg filters. |
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.
|