PHP 8.3.4 Released!

Gmagick::trimimage

(PECL gmagick >= Unknown)

Gmagick::trimimageRemove edges from the image

Descrição

public Gmagick::trimimage(float $fuzz): Gmagick

Remove edges that are the background color from the image.

Parâmetros

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.

Valor Retornado

The Gmagick object.

Erros/Exceções

Lança uma exceção GmagickException em caso de erro.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top