Imagick::getImageColors

Gets the number of unique colors in the image

Description

public int Imagick::getImageColors()

Gets the number of unique colors in the image.

Parameters

This function has no parameters.

Return Values

Returns an int, the number of unique colors in the image.