GoLang Gmagick::trimimage

request it (169)
GoLang replacement for PHP's Gmagick::trimimage [edit | history]

Do you know a GoLang replacement for PHP's Gmagick::trimimage? Write it!

PHP Gmagick::trimimage

PHP original manual for Gmagick::trimimage [ show | php.net ]


(PECL gmagick >= Unknown)

Gmagick::trimimageRemove edges from the image


public Gmagick Gmagick::trimimage ( float $fuzz )

Remove edges that are the background color from the image.



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.

Return Values

The Gmagick object


Throws an GmagickException on error.