- PHP 手册
- 函数参考
- 图像生成和处理
- ImageMagick
- Imagick
Imagick::getImageBackgroundColor
(PECL imagick 2, PECL imagick 3)
Imagick::getImageBackgroundColor — Returns the image background color
说明
public Imagick::getImageBackgroundColor(): ImagickPixelReturns the image background color.
参数
此函数没有参数。
返回值
Returns an ImagickPixel set to the background color of the image.
错误/异常
错误时抛出 ImagickException。
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/imagick.getimagebackgroundcolor.php