Forum und email

Imagick::addNoiseImage

(No version information available, might be only in CVS)

Imagick::addNoiseImage — Adds random noise to the image

说明

bool Imagick::addNoiseImage ( int $noise_type [, int $channel ] )
Warning

æœ¬å‡½æ•°æš‚æ— æ–‡æ¡£ï¼Œä»…æœ‰å‚æ•°åˆ—表。

Warning

本函数是实验性的。本函数的行为,包括函数å称以åŠå…¶å®ƒä»»ä½•关于本函数的文档å¯èƒ½ä¼šåœ¨æ²¡æœ‰é€šçŸ¥çš„æƒ…å†µä¸‹éš PHP 以åŽçš„å‘布而改å˜ã€‚使用本函数风险自担。

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

返回值

Returns TRUE on success.