Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PECL imagick 2.0.0)

ImagickPixel::getColorCountReturns the color count associated with this color


int ImagickPixel::getColorCount ( void )

This function is currently not documented; only its argument list is available.

Returns the color count associated with this color.

Return Values

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

PHP Manual