trimtol Trim Tolerance

The trimtol parameter defines the tolerance for the trim=color operation. This parameter is valid only when trim is set to color. If not specified, the default value is 0.

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.