array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'gmagick.getimagecolors.php', 1 => 'Gmagick::getimagecolors', 2 => 'Returns the color of the specified colormap index', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.getimagechanneldepth.php', 1 => 'Gmagick::getimagechanneldepth', ), 'next' => array ( 0 => 'gmagick.getimagecolorspace.php', 1 => 'Gmagick::getimagecolorspace', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/getimagecolors.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Gmagick::getimagecolors

(PECL gmagick >= Unknown)

Gmagick::getimagecolorsReturns the color of the specified colormap index

Beschreibung

public Gmagick::getimagecolors(): int

Returns the color of the specified colormap index.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The number of colors in image.

Fehler/Exceptions

Wirft bei einem Fehler eine GmagickException.