Quantization (image processing)
Appearance
Quantization, involved in image processing, is the process seeking to reduce the number of colors required to represent an image. Although more frequent in the past, currently color quantization is only used in 8-bit (256 color) images, as GIF images and some PNG images.
A standard quantization algorithm works in 2 steps:
- Analyze the image to select the new color palette. Usually, this involves checking each pixel to choose the most frequent colors.
- Dither the image to the new color palette.