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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top