The Imagick class
PHP Manual

Imagick::getImageColors

(PECL imagick 2.0.0)

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

Opis

int Imagick::getImageColors ( void )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Gets the number of unique colors in the image.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


The Imagick class
PHP Manual