GmagickPixel::getcolorcount
PHP Manual
PHP Manual»GmagickPixel»GmagickPixel::getcolorcount

GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcountReturns the color count associated with this color

Description

public function GmagickPixel::getcolorcount(): int

Returns the color count associated with this color.

Parameters

This function has no parameters.

Return Values

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

To Top