编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 return if the image has a matte channelphp imagick returns the image matte colorphp imagick creates a high contrast two color imagephp imagick sets the filename before you read or write the imagephp imagick sets the imagick iterator to the first imagephp imagick sets the image background colorphp imagick sets the image border colorphp imagick sets image clip maskphp imagick sets the color of the specified colormap indexphp imagick sets the image colorspacephp imagick sets the image compressionphp imagick sets the image interpolate pixel methodphp imagick sets the image iterationsphp imagick sets the image matte channelphp imagick sets the image matte colorphp imagick sets the image units of resolutionphp imagick sets the image virtual pixel methodphp imagick sets the image chromaticity white pointphp imagick sets the image type attribute
关注编程学问公众号
编程学问网 湘ICP备20001732号