Gmagick
PHP Manual

Gmagick::setimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::setimagebackgroundcolorSets the image background color

Description

public Gmagick Gmagick::setimagebackgroundcolor ( GmagickPixel $color )

Sets the image background color.

Parameters

color

The background pixel wand.

Return Values

The Gmagick object on success

Errors/Exceptions

Throws an GmagickException on error.


Gmagick
PHP Manual