Gmagick::oilpaintimage()
(PECL gmagick >= Unknown)
Simulates an oil painting
说明
public Gmagick::oilpaintimage(float $radius): Gmagick
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。