Imagick
PHP Manual

Imagick::getImageBackgroundColor

(PECL imagick 2.0.0)

Imagick::getImageBackgroundColorReturns the image background color

Description

ImagickPixel Imagick::getImageBackgroundColor ( void )

Returns the image background color.

Return Values

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

Errors/Exceptions

Throws ImagickException on error.


Imagick
PHP Manual