Gmagick
PHP Manual

Gmagick::addnoiseimage

(PECL gmagick >= Unknown)

Gmagick::addnoiseimageAdds random noise to the image

说明

public Gmagick Gmagick::addnoiseimage ( int $noise_type )

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 Manual