The Imagick class
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 )
Warning

This function is currently not documented; only its argument list is available.

Reduces the image to a limited number of color level.

Parameters

levels

dither

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual