W3cubDocs

/PHP

Gmagick::getimagematte

(PECL gmagick >= Unknown)

Gmagick::getimagematteCheck if the image has a matte channel

Description

public Gmagick::getimagematte ( ) : int

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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.getimagematte.php