See Also Examples Applies To
Quantizes & converts the native GdPicture image to an 8-bits palette color image with a desired number of colors. Converts the color palette to 8 Bpp after having reduced the colors into a specified number. This function uses a color quantization algorithm.
Syntax
object.Quantize8Bpp (nColors)
The Quantize8Bpp syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nColors | Required. Long. The number of max. distinct colors to use into the new image. [2 - 256] |
Returns
Long. GdPictureStatus
Remarks
Color image quantization is a process that reduces the number of distinct colors used in an image, usually with the intention that the new image should be as visually similar as possible to the original image.
Category
Palette Conversions & Colors Reduction