Imagick::getImageColors

(PECL imagick 2, PECL imagick 3)

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

Опис

public Imagick::getImageColors(): int

Gets the number of unique colors in the image.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

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