(PECL gmagick >= Unknown)
The quantizeimages purpose
public void Gmagick::quantizeimages ( int $numColors, int $colorspace, int $treeDepth, bool $dither, bool $measureError )
Analyzes the colors within a sequence of images and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.