ImageGear Professional for Windows ActiveX
ReduceWithMedianCut Method

Description:

Reduces an image by dividing it into maxColors equal-sized squares. The colors of the pixels in each square will be averaged to produce a resulting color. The resulting image will contain only these colors.

Syntax:

      ReduceWithMedianCut (ByVal pPage As IGPage, ByVal fastRemap As
Boolean, ByVal maxColors As Long)

Parameters:

Name Description
pPage Reference to IGPage Object.
fastRemap Set to True for reduction algorithm optimized for speed. Set to False for algorithm optimized for quality.
maxColors The maximum number of colors (that is, maximum number of unique pixel values) you want in the resulting image. Must be 16 to 256.

Return Value:

N/A

Bits Per Pixel:

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback