|
ImagickPixel::getColorCountReturns the color count associated with this color Description
public int ImagickPixel::getColorCount()
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() ParametersThis function has no parameters. Return ValuesReturns the color count as an integer on success, throws ImagickPixelException on failure. Examples
Example #1 ImagickPixel getColorCount
The output for this will be similar to: Last pixel color count is: 256244 |