imagick_getnumbercolors
(PECL)
imagick_getnumbercolors -- Get number of colors
说明
int
imagick_getnumbercolors ( resource image, string hist_filename )
参数
image
Image handle
hist_filename
Write a histogram of the color distribution to this file
返回值
Number of unique colors used in the image on success or FALSE on failure.