php8.5
Home/ Manual/ imagick / imagick/ Imagick::getImageBackgroundColor

Imagick::getImageBackgroundColor

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the image background color

Description

Imagick::getImageBackgroundColor(): ImagickPixel

Returns the image background color.

Parameters Parameters

Return Values

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

Errors/Exceptions

Throws

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