php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::getimagehistogram

Gmagick::getimagehistogram

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Gets the image histogram

Description

Gmagick::getimagehistogram(): array

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

Parameters Parameters

Return Values

Returns the image histogram as an array of GmagickPixel objects.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/getimagehistogram.xml · from the official PHP manual (php/doc-en)