Gmagick
PHP Manual

Gmagick::getimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::getimagebackgroundcolorReturns the image background color

Description

public GmagickPixel Gmagick::getimagebackgroundcolor ( void )

Returns the image background color.

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

Throws an GmagickException on error.


Gmagick
PHP Manual