= Unknown)Gmagick::addnoiseimage — Adds random noise to the image說(shuō)明public Gmagick::addnoiseimage(int $noise_type)">

Gmagick::addnoiseimage

(PECL gmagick >= Unknown)

Gmagick::addnoiseimageAdds random noise to the image

說(shuō)明

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

Adds random noise to the image.

參數(shù)

noise_type

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

返回值

The Gmagick object with noise added.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。