Trim Tolerance trim-tol

The trim-tol parameter defines the tolerance for the trim=color operation.

The trim tolerance defines how different a color can be before the trim operation stops. A higher trim-tol value makes the trim operation more lenient, allowing for more varied colors as the algorithm “walks” in from the edges of the image. If not specified, the default value is 0.

See the API specification for more information about this parameter's value ranges and format.