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

Gmagick::getimagebackgroundcolor

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Returns the image background color

Description

Gmagick::getimagebackgroundcolor(): GmagickPixel

Returns the image background color.

Parameters Parameters

Return Values

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

Errors/Exceptions

Throw

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