Gmagick
PHP Manual

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.

错误/异常

Throws an GmagickException on error.


Gmagick
PHP Manual