PHP - Manual: HaruImage::setMaskImage
2024-12-21
(PECL haru >= 0.0.1)
HaruImage::setMaskImage — Set the image mask
$mask_image
) : boolSets the image used as image-mask. It must be 1bit gray-scale color image.
Returns TRUE
on success.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/haruimage.setmaskimage.php