©
本文档使用
php.cn手册 发布
(PECL gmagick >= Unknown)
Gmagick::trimimage — Remove edges from the image
$fuzz
)Remove edges that are the background color from the image.
fuzz
By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. This parameter represents the variation on the quantum range.
The Gmagick object
错误时抛出 GmagickException。