Imagick::trimImage()
Imagick::trimImage - Remove edges from the image
Syntax
bool Imagick::trimImage (
float $fuzz)
Arguments
- 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.
Description
Remove edges that are the background color from the image. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.