Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GmagickPixel::getcolorGmagickPixel::getcolorvalue>
^GmagickPixelLast updated: Mon, 26 Oct 2026

GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcount — Returns 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.


<GmagickPixel::getcolorGmagickPixel::getcolorvalue>
^GmagickPixelLast updated: Mon, 26 Oct 2026