Gmagick::addnoiseimage

(PECL gmagick >= Unknown)

Gmagick::addnoiseimageAdds random noise to the image

说明

public Gmagick::addnoiseimage ( int $noise_type ) : Gmagick

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