Gmagick
PHP Manual

Gmagick::oilpaintimage

(PECL gmagick >= Unknown)

Gmagick::oilpaintimageSimulates an oil painting

说明

public void Gmagick::oilpaintimage ( float $radius )

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


Gmagick
PHP Manual