编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setImageAttribute
  • Imagick::setImageBias »
  • PHP Manual
  • Imagick
  • Sets the image background color

Imagick::setImageBackgroundColor

(PECL imagick 2.0.0)

Imagick::setImageBackgroundColor — Sets the image background color

说明

Imagick::setImageBackgroundColor ( mixed $background ) : bool

Sets the image background color.

参数

background

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

更新日志

版本 说明
2.1.0 Now allows a string representing the color as the parameter. Previous versions allow only an ImagickPixel object.

相关文章
php gmagick sets the image background colorphp imagick returns the image background colorphp imagick returns the image matte colorphp imagick creates a high contrast two color imagephp imagick sets the object s default background colorphp imagick sets the imagick iterator to the first imagephp imagick sets the image background colorphp imagick sets the image border colorphp imagick sets the image colorspacephp imagick sets the image composite operatorphp imagick sets the image delayphp imagick sets the image iterationsphp imagick sets the image matte channelphp imagick sets the image matte colorphp imagick sets the image opacity levelphp imagick sets the image orientationphp imagick sets the image chromaticity white pointphp imagick sets the image compressionphp imagick sets the imagick iterator to the last imagephp swfmovie sets the background color
关注编程学问公众号
编程学问网 湘ICP备20001732号