GdPicture image identifier.
Value between [0 and 254]. Specifies the aggressiveness of the method. Suggested value is 51. Higher is the value, whiter the resulting bitmap will be.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / ConvertTo1BppWAN Method

ConvertTo1BppWAN Method (GdPictureImaging)

In This Topic
Converts a GdPicture image to a 1-bit (black and white) bitmap using a variant of the WAN local thresholding method.
Syntax
'Declaration
 
Public Function ConvertTo1BppWAN( _
   ByVal ImageID As Integer, _
   ByVal Threshold As Byte _
) As GdPictureStatus
public GdPictureStatus ConvertTo1BppWAN( 
   int ImageID,
   byte Threshold
)
public function ConvertTo1BppWAN( 
    ImageID: Integer;
    Threshold: Byte
): GdPictureStatus; 
public function ConvertTo1BppWAN( 
   ImageID : int,
   Threshold : byte
) : GdPictureStatus;
public: GdPictureStatus ConvertTo1BppWAN( 
   int ImageID,
   byte Threshold
) 
public:
GdPictureStatus ConvertTo1BppWAN( 
   int ImageID,
   byte Threshold
) 

Parameters

ImageID
GdPicture image identifier.
Threshold
Value between [0 and 254]. Specifies the aggressiveness of the method. Suggested value is 51. Higher is the value, whiter the resulting bitmap will be.
Remarks

This method requires the Image Documents component to run.

See Also