在线文档教程
PHP
Image/GraphicsMagick

GmagickPixel::getcolorcount

GmagickPixel::getcolorcount

(PECL gmagick >= Unknown)

GmagickPixel::getcolorcount — Returns the color count associated with this color

Description

public int GmagickPixel::getcolorcount ( void )

Returns the color count associated with this color

Parameters

This function has no parameters.

Return Values

Returns the color count as an integer on success, throws GmagickPixelException on failure.

← GmagickPixel::getcolor

GmagickPixel::getcolorvalue →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagickpixel.getcolorcount.php