(No version information available, might only be in SVN)
Imagick::transparentPaintImage — Paints pixels transparent
Paints pixels matching the target color transparent. 此方法在Imagick基于ImageMagick 6.3.8以上版本编译时可用。
target
The target color to paint
alpha
透明级别:1.0 是完全不透明,0.0 是完全透明。
fuzz
The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
invert
If TRUE
paints any pixel that does not match the target color.
成功时返回 TRUE
。