编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruImage::setColorMask
  • HaruEncoder »
  • PHP Manual
  • HaruImage
  • Set the image mask

HaruImage::setMaskImage

(PECL haru >= 0.0.1)

HaruImage::setMaskImage — Set the image mask

说明

HaruImage::setMaskImage ( object $mask_image ) : bool

Sets the image used as image-mask. It must be 1bit gray-scale color image.

参数

mask_image

A valid HaruImage instance.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

相关文章
php gd 和图像处理 函数 get or set the resolution of the imagephp gmagick set the iterator to the position in the image list specified with the index parameterphp harudoc load png image and return haruimage instancephp haruimage get the number of bits used to describe each color component of the imagephp haruimage get the height of the imagephp haruimage get size of the imagephp haruimage get the width of the imagephp haruimage set the color mask of the imagephp haruimage set the image maskphp ktaglib id3v2 attachedpictureframe set the type of the imagephp imagick blends the fill color with the imagephp imagick enciphers an imagephp imagick set image sizephp imagick evaluate expression for each pixel in the imagephp imagick returns the image background colorphp imagick gets image clip maskphp imagick returns the composite operator associated with the imagephp imagick gets the index of the current active imagephp imagick set image artifactphp imagick sets image clip mask
关注编程学问公众号
编程学问网 湘ICP备20001732号