Imagick
PHP Manual

Imagick::posterizeImage

(PECL imagick 2.0.0)

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

Description

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

Reduces the image to a limited number of color level.

Parameters

levels

dither

Return Values

Returns TRUE on success.


Imagick
PHP Manual