编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 imagick blends the fill color with the imagephp imagick returns the image background colorphp imagick returns the image matte colorphp imagick enhances the contrast of a color imagephp imagick reduces the image to a limited number of color levelphp imagick sets the image background colorphp imagick sets the image bias for any method that convolves an imagephp imagick sets the image border colorphp imagick sets the image disposal methodphp imagick sets the image sizephp imagick sets the filename of a particular imagephp imagick sets the image gammaphp imagick sets the image matte channelphp imagick sets the image matte colorphp imagick sets an image propertyphp imagick sets the image chromaticity red primary pointphp imagick sets the image rendering intentphp imagick sets the image resolutionphp imagick sets the image resolution
关注编程学问公众号
编程学问网 湘ICP备20001732号