(PECL imagick 2, PECL imagick 3)
Imagick::getImageColors — Gets the number of unique colors in the image
Gets the number of unique colors in the image.
此函數(shù)沒有參數(shù)。
Returns an int, the number of unique colors in the image.