Imagick
PHP Manual

Imagick::posterizeImage

(PECL imagick 2.0.0)

Imagick::posterizeImageReduces the image to a limited number of color level

说明

bool Imagick::posterizeImage ( int $levels , bool $dither )

Reduces the image to a limited number of color level.

参数

levels

dither

返回值

成功时返回 TRUE


Imagick
PHP Manual