The Imagick class
PHP Manual

Imagick::getImageBackgroundColor

(PECL imagick 2.0.0)

Imagick::getImageBackgroundColorReturns the image background color

Description

ImagickPixel Imagick::getImageBackgroundColor ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns the image background color.

Return Values

Returns an ImagickPixel set to the background color of the image. Throw an ImagickException on error.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual