ImageGear for .NET
ReduceToBitonal Method




Image conversion mode to be applied during the conversion of the image. Possible values are: AUTO, SET, GLOBAL.
Brightness of the image (range is 0 to 100, where 0 means the darkest and 100 means the lightest resulting image). This parameter has an effect only if the conversion parameter is set to AUTO.
Threshold value to be set. Its range should be between 0 and 255. This parameter has an effect only if the Conversion parameter is set to SET.
Resolution enhancement setting to be applied during the conversion (ImGearRecResEnhancementMode).
Reduces an image to bitonal (black and white).
Syntax
'Declaration
 
Public Sub ReduceToBitonal( _
   ByVal reductionMode As ImGearRecReductionMode, _
   ByVal brightness As Integer, _
   ByVal threshold As Integer, _
   ByVal resolutionEnhancementMode As ImGearRecResEnhancementMode _
) 
'Usage
 
Dim instance As ImGearRecImage
Dim reductionMode As ImGearRecReductionMode
Dim brightness As Integer
Dim threshold As Integer
Dim resolutionEnhancementMode As ImGearRecResEnhancementMode
 
instance.ReduceToBitonal(reductionMode, brightness, threshold, resolutionEnhancementMode)

Parameters

reductionMode
Image conversion mode to be applied during the conversion of the image. Possible values are: AUTO, SET, GLOBAL.
brightness
Brightness of the image (range is 0 to 100, where 0 means the darkest and 100 means the lightest resulting image). This parameter has an effect only if the conversion parameter is set to AUTO.
threshold
Threshold value to be set. Its range should be between 0 and 255. This parameter has an effect only if the Conversion parameter is set to SET.
resolutionEnhancementMode
Resolution enhancement setting to be applied during the conversion (ImGearRecResEnhancementMode).
Remarks
This method performs a direct secondary image conversion step, converting a color or grayscale image to a black-and-white (bitonal) one.
See Also

Reference

ImGearRecImage Class
ImGearRecImage Members
ImGearRecReductionMode Enumeration
ImGearRecResEnhancementMode Enumeration

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback