(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
成功時回傳 TRUE
。
錯誤時拋出 ImagickException。