PHP 8.4.2 Released!

Gmagick::getimagecolors

(PECL gmagick >= Unknown)

Gmagick::getimagecolorsReturns the color of the specified colormap index

Description

public Gmagick::getimagecolors(): int

Returns the color of the specified colormap index.

Parameters

This function has no parameters.

Return Values

The number of colors in image.

Errors/Exceptions

Throws an GmagickException on error.

add a note

User Contributed Notes

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