编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 firebird/interbase 函数 assigns a name to a result setphp 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 compares an image to a reconstructed imagephp imagick exports raw image pixelsphp imagick set image sizephp imagick gets image clip maskphp imagick compares an image to a reconstructed imagephp imagick return if the image has a matte channelphp imagick get an imagickpixeliterator for an image sectionphp imagick set image artifactphp imagick sets image clip mask
关注编程学问公众号
编程学问网 湘ICP备20001732号