PHP 8.4.2 Released!

Gmagick::getimagehistogram

(PECL gmagick >= Unknown)

Gmagick::getimagehistogramGets the image histogram

Description

public Gmagick::getimagehistogram(): array

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top