PHP
Image/ImageMagick

Imagick::getImageBackgroundColor

Imagick::getImageBackgroundColor

(PECL imagick 2.0.0)

Imagick::getImageBackgroundColor — Returns 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::getImageAttribute

Imagick::getImageBlob →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.getimagebackgroundcolor.php