Php/docs/gmagick.getimagehistogram

来自菜鸟教程
跳转至:导航、​搜索

Gmagick::getimagehistogram

(PECL gmagick >= Unknown)

Gmagick::getimagehistogramGets the image histogram


说明

public Gmagick::getimagehistogram ( ) : array

Returns the image histogram as an array of GmagickPixel objects. Throw an GmagickException on error.


参数

此函数没有参数。


返回值

Returns the image histogram as an array of GmagickPixel objects.


错误/异常

错误时抛出 GmagickException