Gmagick
PHP Manual

Gmagick::setimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::setimagebackgroundcolorSets the image background color.

说明

public Gmagick Gmagick::setimagebackgroundcolor ( GmagickPixel $color )

Sets the image background color.

参数

color

The background pixel wand.

返回值

The Gmagick object on success

错误/异常

Throws an GmagickException on error.


Gmagick
PHP Manual