Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getimageiterationsGmagick::getimagemattecolor>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getimagematte

(PECL gmagick >= Unknown)

Gmagick::getimagematte — Check if the image has a matte channel

Description

public function 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.


<Gmagick::getimageiterationsGmagick::getimagemattecolor>
^GmagickLast updated: Mon, 26 Oct 2026