php8.5
Home/ Manual/ gmagick / gmagickpixel/ GmagickPixel::getcolorcount

GmagickPixel::getcolorcount

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Returns the color count associated with this color

Description

GmagickPixel::getcolorcount(): int

Returns the color count associated with this color.

Parameters Parameters

Return Values

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

Source: reference/gmagick/gmagickpixel/getcolorcount.xml · from the official PHP manual (php/doc-en)