编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 sets the image background colorphp gmagick sets the image border colorphp imagick returns the image border colorphp imagick returns the image matte colorphp imagick replaces the colors of an image with the closest color from a reference imagephp imagick enhances the contrast of a color imagephp imagick sets the object s default background colorphp imagick sets the image background colorphp imagick sets the image chromaticity blue primary pointphp imagick sets the image border colorphp imagick sets the image gammaphp imagick sets the image gravityphp imagick sets the image chromaticity green primary pointphp imagick sets the image matte channelphp imagick sets the image matte colorphp imagick sets the image resolutionphp imagick sets the image scenephp imagick sets the image ticks per secondphp imagick sets the image sampling factorsphp imagick splices a solid color into the image
关注编程学问公众号
编程学问网 湘ICP备20001732号