Imagick::getImageColors
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Gets the number of unique colors in the image
Description
Imagick::getImageColors(): int
Gets the number of unique colors in the image.
Parameters Parameters
Return Values
Returns an int, the number of unique colors in the image.