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