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
-
Return值
Returns TRUE on success.