(PECL imagick 2, PECL imagick 3)
Imagick::quantizeImages — Analyzes the colors within a sequence of images
$numberColors,$colorspace,$treedepth,$dither,$measureError
numberColors
colorspace
treedepth
dither
measureError
   Returns true on success.
  
Throws ImagickException on error.