Imagick::sketchImage
(No version information available, might be only in CVS)
Imagick::sketchImage — Simulates a pencil sketch
说明
bool Imagick::sketchImage
( float $radius
, float $sigma
, float $angle
)
Warning
æœ¬å‡½æ•°æš‚æ— æ–‡æ¡£ï¼Œä»…æœ‰å‚æ•°åˆ—表。
Warning
本函数是实验性的。本函数的行为,包括函数å称以åŠå…¶å®ƒä»»ä½•关于本函数的文档å¯èƒ½ä¼šåœ¨æ²¡æœ‰é€šçŸ¥çš„æƒ…å†µä¸‹éš PHP 以åŽçš„å‘布而改å˜ã€‚使用本函数风险自担。
Simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Imagick::sketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.
傿•°
- radius
-
- sigma
-
- angle
-
返回值
Returns TRUE on success.