array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.getimagemattecolor.php', 1 => 'Imagick::getImageMatteColor', 2 => 'Returns the image matte color', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimagematte.php', 1 => 'Imagick::getImageMatte', ), 'next' => array ( 0 => 'imagick.getimagemimetype.php', 1 => 'Imagick::getImageMimeType', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getimagemattecolor.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::getImageMatteColor

(PECL imagick 2, PECL imagick 3)

Imagick::getImageMatteColorReturns the image matte color

警告

此函数在 Imagick 3.4.4 中被 废弃,强烈建议不要应用此函数。

说明

public Imagick::getImageMatteColor(): ImagickPixel

Returns the image matte color.

参数

此函数没有参数。

返回值

Returns ImagickPixel object on success.

错误/异常

错误时抛出 ImagickException。