Imagick::getImageColors

(PECL imagick 2, PECL imagick 3)

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

Descrierea

public Imagick::getImageColors ( ) : int

Gets the number of unique colors in the image.

Valorile întoarse

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