(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
成功时返回 true。
错误时抛出 ImagickException。