(PECL imagick 2.0.0)
Imagick::quantizeImage — Analyzes the colors within a reference image
$numberColors
    , int $colorspace
    , int $treedepth
    , bool $dither
    , bool $measureError
   )
numberColors
colorspace
treedepth
dither
measureError
   Returns TRUE on success.
  
Throws ImagickException on error.