Imagick::getImageColors

(PECL imagick 2, PECL imagick 3)

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

Descrição

public Imagick::getImageColors ( ) : int

Gets the number of unique colors in the image.

Valor Retornado

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