ImagickPixel::getColorCount

ImagickPixel::getColorCount

(PECL imagick 2.0.0)

ImagickPixel::getColorCountReturns the color count associated with this color

Description

int ImagickPixel::getColorCount ( void )

Returns the color count associated with this color.

The color count is the number of pixels in the image that have the same color as this ImagickPixel.

ImagickPixel::getColorCount appears to only work for ImagickPixel objects created through Imagick::getImageHistogram()