Gmagick::getimagematte

(PECL gmagick >= Unknown)

Gmagick::getimagematteCheck if the image has a matte channel

说明

public Gmagick::getimagematte(): int

Returns true if the image has a matte channel, otherwise false.

参数

此函数没有参数。

返回值

Returns true if the image has a matte channel, otherwise false.

错误/异常

错误时抛出 GmagickException