Accusoft ImagXpress 12
AutoBinarize Method
See Also  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : AutoBinarize Method

Glossary Item Box

Description

Automatically converts 8-bit and 24-bit images to 1-bit.

Syntax

Visual Basic
Public Sub AutoBinarize() 

Remarks

Binarization is often done to clean up and image (e.g. in preparation for OCR), or to create an image effect.

This method analyzes the image and sets the best parameters to binarize the image automatically.

Important Tip: Because the image is analyzed extensively it is much slower than calling Binarize directly. Use the following properties to pass into the Binarize method for faster processing of similar images.

This method sets the following properties with the values it used to binarize the image:

Note: These properties are also set with the values that is passed into the Binarize method. If you call the Binarize method with some other value, those properties will reflect those new values.

For 1-bit output, this method modifies the color palette associated with the image, setting it to two colors, with black as color 0 and white as color 1. 

See Also

©2013. Accusoft Corporation. All Rights Reserved.