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

Gmagick::getimagecolors

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Returns the color of the specified colormap index

Description

Gmagick::getimagecolors(): int

Returns the color of the specified colormap index.

Parameters Parameters

Return Values

The number of colors in image.

Errors/Exceptions

Throw

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