Gmagick::charcoalimage
PHP Manual
PHP Manual»Gmagick»Gmagick::charcoalimage

Gmagick::charcoalimage

(PECL gmagick >= Unknown)

Gmagick::charcoalimage — Simulates a charcoal drawing

说明

public function Gmagick::charcoalimage(float $radius, float $sigma): Gmagick

Simulates a charcoal drawing.

参数

radius

The radius of the Gaussian, in pixels, not counting the center pixel.

sigma

The standard deviation of the Gaussian, in pixels.

返回值

The Gmagick object with charcoal simulation.

错误/异常

错误时抛出 GmagickException。

To Top