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

Imagick::setImageMatteColor

(PECL imagick 2.0.0)

Imagick::setImageMatteColor — Sets the image matte color

说明

Imagick::setImageMatteColor ( mixed $matte ) : bool

Sets the image matte color.

参数

matte

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

更新日志

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

相关文章
php gmagick returns the image matte colorphp imagick enhances the contrast of a color imagephp imagick returns the image matte colorphp imagick creates a high contrast two color imagephp imagick sets the imagick iterator to the first imagephp imagick sets image alpha channelphp 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 depthphp 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 image
关注编程学问公众号
编程学问网 湘ICP备20001732号