HaruImage::setMaskImage

(PECL haru >= 0.0.1)

HaruImage::setMaskImageSet the image mask

Опис

bool HaruImage::setMaskImage ( object $mask_image )

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top