php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::setimagebackgroundcolor

Gmagick::setimagebackgroundcolor

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the image background color

Description

Gmagick::setimagebackgroundcolor(GmagickPixel $color): Gmagick

Sets the image background color.

Parameters

color

The background pixel wand.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/setimagebackgroundcolor.xml · from the official PHP manual (php/doc-en)