Gmagick
PHP Manual

Gmagick::getimagematte

(PECL gmagick >= Unknown)

Gmagick::getimagematteCheck if the image has a matte channel

Description

public int Gmagick::getimagematte ( void )

Returns TRUE if the image has a matte channel, otherwise FALSE.

Parameters

This function has no parameters.

Return Values

Returns TRUE if the image has a matte channel, otherwise FALSE.

Errors/Exceptions

Throws an GmagickException on error.


Gmagick
PHP Manual