ImageGear Professional for Windows ActiveX
ReduceWithBayer Method

Description:

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.

Syntax:

      ReduceWithBayer (ByVal pPage As IGPage, ByVal destDepth As Long)

Parameters:

Name Description
pPage Reference to IGPage Object.
destDepth Number of bits per pixel after reduction (4 or 1).

Return Value:

N/A

Bits Per Pixel:

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback