PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Gmagick::getimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::getimagebackgroundcolorReturns the image background color

说明

public Gmagick::getimagebackgroundcolor ( void ) : GmagickPixel

Returns the image background color.

参数

此函数没有参数。

返回值

Returns an GmagickPixel set to the background color of the image.

错误/异常

错误时抛出 GmagickException