Gmagick::trimimage

(PECL gmagick >= Unknown)
Remove edges from the image
public Gmagick Gmagick::trimimage ( float $fuzz )

Remove edges that are the background color from the image.

Parameters:
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.

Returns:

The Gmagick object

Exception:

Throws an GmagickException on error.

doc_php
2016-02-24 16:00:25
Comments
Leave a Comment

Please login to continue.