AntiAlias method (Main Control)

Visual Basic example
Visual C++ 5.0 example

Syntax short AntiAlias(short iThreshold, short iDim, short iFilter);

Overview:  Refer to Correcting Colors.

Remarks

(Document only) Applies an anti-aliasing filter to the bitmap.

The best results for anti-aliasing text can be obtained with the filter ANTIALIAS_2.

The value of the iDim parameter determines the extent of the anti-aliasing.

The threshold range for 16, 48 and 64-bit bitmaps is from 0 to 65535 and for 12-bit bitmaps the threshold range is from 0 to 4095. Otherwise, it is from 0 to 255. The threshold is applied on channels separately.

This method also supports 12 and 16 - bit grayscale bitmaps and can process the whole image or a region of the image. Support for 12 and 16 - bit grayscale images is available only in the Document/Medical Toolkits.

See Also

Topics:  Raster Images: Filtering Images