Gmagick
PHP 手册

Gmagick::getimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::getimagebackgroundcolorReturns the image background color

说明

public void Gmagick::getimagebackgroundcolor ( void )

Returns the image background color.

参数

This function has no parameters.

返回值

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

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册