GmagickPixel
PHP Manual

GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcountReturns the color count associated with this color

Описание

public void GmagickPixel::getcolorcount ([ bool $as_array [, bool $normalize_array ]] )

Returns the color count associated with this color

Параметри

Тази функция няма параметри.

Връщани стойности

Returns the color count as an integer on success, throws GmagickPixelException on failure.


GmagickPixel
PHP Manual