array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.getimagealphachannel.php', 1 => 'Imagick::getImageAlphaChannel', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimage.php', 1 => 'Imagick::getImage', ), 'next' => array ( 0 => 'imagick.getimageartifact.php', 1 => 'Imagick::getImageArtifact', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/imagick/imagick/getimagealphachannel.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Imagick::getImageAlphaChannel — 检查图像是否有 alpha 通道
此函数没有参数。
错误时抛出 ImagickException。