Imagick::getImageBackgroundColor

(PECL imagick 2, PECL imagick 3)

Imagick::getImageBackgroundColorReturns the image background color

說明

public Imagick::getImageBackgroundColor(): ImagickPixel

Returns the image background color.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 ImagickException。