FxBitonalDespeckle Method (GdPictureImaging)
Performs a 3x3 despeckle filter on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
It works as a noise removal filter, for Salt-And-Pepper like-noise, or varied dots around a document.
It can remove black noise pixels from white backgrounds and visa versa.
public function FxBitonalDespeckle(
: Integer;
: Boolean
): GdPictureStatus;
'Declaration
Public Function FxBitonalDespeckle( _
ByVal As Integer, _
ByVal As Boolean _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier. Only 1 bit per pixel images with black and white palette are supported.
- FixText
- Option to make sure text in small documents was not affected. Only set to True if image DPI is less than 200. Otherwise, set to False.
Return Value
A member of the GdPictureStatus enumeration.