The Imagick class
PHP Manual

Imagick::getImageColors

(PECL imagick 2.0.0)

Imagick::getImageColorsGets the number of unique colors in the image

Descrição

int Imagick::getImageColors ( void )
Aviso

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

Gets the number of unique colors in the image.

Valor Retornado

Retorna TRUE em sucesso.


The Imagick class
PHP Manual