array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.oilpaintimage.php', 1 => 'Gmagick::oilpaintimage', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.normalizeimage.php', 1 => 'Gmagick::normalizeimage', ), 'next' => array ( 0 => 'gmagick.previousimage.php', 1 => 'Gmagick::previousimage', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/oilpaintimage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gmagick >= Unknown)
Gmagick::oilpaintimage — Simulates an oil painting
Applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.
radius
The radius of the circular neighborhood.
The Gmagick object on success
错误时抛出 GmagickException。