Search Documentation

trimtol Trim Tolerance

The trimtol 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 trimtol 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.