2. Color Quantization
Color quantization is the process that drastically reduces
the number of colors used in a digital color image by
approximating the original pixels with their nearest representative
colors. The true color image is usually quantized
to reduce the size of the image to be stored or transmitted.
This means the 224 colors of a true color image
have to be greatly reduced to a limited number of representative
colors, which is called a color table (palette).