Imagick::getImageColors

Gets the number of unique colors in the image

Description

int Imagick::getImageColors ( void )

Gets the number of unique colors in the image.

Return Values

Returns an integer, the number of unique colors in the image.