| ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > ReduceWithPopularity Method |
Reduces a 24-bit image to an 8-bit image while retaining its most popular, or prevalent, colors.
ReduceWithPopularity (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 | Number of colors to reduce to. |
N/A
Image Processing and Effects