array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.setimagematte.php', 1 => 'Imagick::setImageMatte', 2 => 'Sets the image matte channel', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setimageiterations.php', 1 => 'Imagick::setImageIterations', ), 'next' => array ( 0 => 'imagick.setimagemattecolor.php', 1 => 'Imagick::setImageMatteColor', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setimagematte.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::setImageMatte — Sets the image matte channel
Sets the image matte channel. 此方法在Imagick基于ImageMagick 6.2.9以上版本编译时可用。
matteTrue activates the matte channel and false disables it.
成功时返回 true。