Imagick::getImageColors

(PECL imagick 2, PECL imagick 3)

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

Description

publicImagick::getImageColors(): int

Gets the number of unique colors in the image.

Parameters

This function has no parameters.

Return Values

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

To Top