Imagick::addNoiseImage()
Imagick::addNoiseImage - Adds random noise to the image
Syntax
bool Imagick::addNoiseImage (
int $noise_type,
int $channel)
Arguments
- noise_type - The type of the noise. Refer to this list of noise constants.
- channel - Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constantsusing bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
Description
Adds random noise to the image.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.