编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 maxdb 函数 set optionsphp ncurses 函数 set cursor statephp 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 set image sizephp imagick gets image clip maskphp imagick set image artifactphp imagick sets image clip maskphp imagickdraw specifies the text code setphp intlcalendar set the timezone used by this calendarphp intldateformatter set the pattern used for the intldateformatterphp svm set training parameters
关注编程学问公众号
编程学问网 湘ICP备20001732号