GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcountReturns the color count associated with this color

Description

public 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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagickpixel.getcolorcount.php