Imagick::getImageBackgroundColor

(PECL imagick 2, PECL imagick 3)

Imagick::getImageBackgroundColorReturns the image background color

说明

public Imagick::getImageBackgroundColor ( ) : ImagickPixel

Returns the image background color.

返回值

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

错误/异常

错误时抛出 ImagickException。