The Imagick class
PHP Manual

Imagick::addNoiseImage

(PECL imagick 2.0.0)

Imagick::addNoiseImageAdds random noise to the image

Описание

bool Imagick::addNoiseImage ( int $noise_type [, int $channel = Imagick::CHANNEL_DEFAULT ] )
Предупреждение

Към момента тази функция не е документирана; наличен е единствено списъкът с аргументите й.

Adds random noise to the image.

Параметри

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 constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants

Връщани стойности

Връща TRUE при успех.


The Imagick class
PHP Manual