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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException