Gmagick::getimagebackgroundcolor

(PECL gmagick >= Unknown)

Gmagick::getimagebackgroundcolorReturns the image background color

說明

public Gmagick::getimagebackgroundcolor(): GmagickPixel

Returns the image background color.

參數(shù)

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

返回值

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

錯誤/異常

錯誤時拋出 GmagickException。