'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)
public void ReduceToBitonal( ImGearRecReductionMode reductionMode, int brightness, int threshold, ImGearRecResEnhancementMode resolutionEnhancementMode )
public: void ReduceToBitonal( ImGearRecReductionMode reductionMode, int brightness, int threshold, ImGearRecResEnhancementMode resolutionEnhancementMode )
public: void ReduceToBitonal( ImGearRecReductionMode reductionMode, int brightness, int threshold, ImGearRecResEnhancementMode 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).