Gmagick
PHP 手册

Gmagick::addnoiseimage

(PECL gmagick >= Unknown)

Gmagick::addnoiseimageAdds random noise to the image

说明

public Gmagick Gmagick::addnoiseimage ( int $NOISE )

Adds random noise to the image.

参数

noise_type

The type of the noise. Refer to this list of noise constants.

返回值

The Gmagick object with noise added.

错误/异常

错误时抛出 GmagickException


Gmagick
PHP 手册