Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getimageheightGmagick::getimageindex>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getimagehistogram

(PECL gmagick >= Unknown)

Gmagick::getimagehistogram — Gets the image histogram

Description

public function 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.


<Gmagick::getimageheightGmagick::getimageindex>
^GmagickLast updated: Mon, 26 Oct 2026