Specifies the threshold parameter of an image conversion to a bi-tonal image.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_reduction_threshold_set( AT_INT Threshold ); |
Arguments:
Name | Type | Description |
Threshold | AT_INT | The image conversion threshold value to be set. Its range is between zero (0) and 255, default: 128. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.Supported Raster Image Formats:
This function does not process image pixels.
Example:
Copy Code | |
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT nThreshold = 100; ErrCount = IG_REC_reduction_threshold_set(nThreshold); |
Remarks:
This parameter has an effect only when the IG_REC_IMG_CONVERSION_SET image conversion mode has been set.