ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > ReduceWithBayer Method |
Reduces an image to a fewer number of Bits Per Pixel, using a Bayer dithering algorithm. The target bit depth is specified by argument destDepth. In general, a color image will be reduced to a fewer number of colors, and a grayscale image will be reduced to a fewer number of shades of gray. Note that setting destDepth = 1 will reduce the image to monochrome or black-and-white.
The input number of Bits Per Pixel must be greater than destDepth, or an error will result.
ReduceWithBayer (ByVal pPage As IGPage, ByVal destDepth As Long)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
destDepth | Number of bits per pixel after reduction (4 or 1). |
N/A
Image Processing and Effects