Gmagick
PHP 手册

Gmagick::getimagehistogram

(PECL gmagick >= Unknown)

Gmagick::getimagehistogramGets the image histogram

说明

public void Gmagick::getimagehistogram ( void )

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

参数

This function has no parameters.

返回值

Returns the image histogram as an array of GmagickPixel objects.

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册