W3cubDocs

/PHP

Gmagick::addnoiseimage

(PECL gmagick >= Unknown)

Gmagick::addnoiseimageAdds random noise to the image

Description

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

Adds random noise to the image.

Parameters

noise_type

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

Return Values

The Gmagick object with noise added.

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.addnoiseimage.php