GoLang Gmagick::getimagecolors

request it (205)
GoLang replacement for PHP's Gmagick::getimagecolors [edit | history]



Do you know a GoLang replacement for PHP's Gmagick::getimagecolors? Write it!

PHP Gmagick::getimagecolors

PHP original manual for Gmagick::getimagecolors [ show | php.net ]

Gmagick::getimagecolors

(PECL gmagick >= Unknown)

Gmagick::getimagecolors Returns the color of the specified colormap index

Description

public int Gmagick::getimagecolors ( void )

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.