Gmagick::getimagehistogram

(PECL gmagick >= Unknown)

Gmagick::getimagehistogramGets the image histogram

Description

public array Gmagick::getimagehistogram ( void )

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

Parameters

This function has no parameters.

Return Values

Returns the image histogram as an array of GmagickPixel objects.

Errors/Exceptions

Throws an GmagickException on error.