Halftone method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short Halftone (short iType, long iAngle, long iDim);

Overview:  Refer to Examining and Altering Bitmaps.

Remarks

Converts a bitmap with any resolution to a halftoned bitmap, with a specified pattern rotation. A halftoned bitmap is a 1-bit bitmap that has been dithered for black and white printing or display.

This method can process the whole image or a region of the image.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.

If the bitmap is originally 1-bit but is not black and white, this method changes it to black and white.

See Also

Topics:  Raster Images: Doing Color Expansion or Reduction