array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.embossimage.php', 1 => 'Gmagick::embossimage', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.edgeimage.php', 1 => 'Gmagick::edgeimage', ), 'next' => array ( 0 => 'gmagick.enhanceimage.php', 1 => 'Gmagick::enhanceimage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/embossimage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gmagick >= Unknown)
Gmagick::embossimage — Returns a grayscale image with a three-dimensional effect
Returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and it will choose a suitable radius for you.
radius
The radius of the effect.
sigma
The sigma of the effect.
The embossed Gmagick object.
错误时抛出 GmagickException。