PHP 8.3.0 RC 6 available for testing

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。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top