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.