ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > ReduceWithMedianCut Method |
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.
ReduceWithMedianCut (ByVal pPage As IGPage, ByVal fastRemap As
Boolean, ByVal maxColors As Long)
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. |
N/A
Image Processing and Effects