The Imagick class
PHP Manual

Imagick::getImageColors

(No version information available, might be only in CVS)

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

Description

int Imagick::getImageColors ( void )
Warning

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

Gets the number of unique colors in the image.

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual