Php/docs/gmagick.addnoiseimage

来自菜鸟教程
跳转至:导航、​搜索

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