The Imagick class
PHP Manual

Imagick::quantizeImage

(PECL imagick 2.0.0)

Imagick::quantizeImageAnalyzes the colors within a reference image

Descrição

bool Imagick::quantizeImage ( int $numberColors , int $colorspace , int $treedepth , bool $dither , bool $measureError )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

numberColors

colorspace

treedepth

dither

measureError

Valor Retornado

Retorna TRUE em sucesso.

Erros

Dispara ImagickException em erro.


The Imagick class
PHP Manual