You can specify a uniform per-pixel tolerance threshold to ignore minor differences.
Per-Channel Mode (Default)
Each channel (R, G, B) is checked independently. If a channel's difference is within the tolerance, it is ignored. If a pixel falls within tolerance for all channels, it is excluded from all metrics (including ErrorPixelCount, AbsoluteError, etc.).
Summed Mode
By setting TolerancePerChannel = false in SKPixelComparerOptions, the total difference (|ΔR| + |ΔG| + |ΔB|) is compared against the tolerance. In this mode, the entire pixel is either counted as an error or excluded entirely.
Note: A negative tolerance throws ArgumentOutOfRangeException.
// Per-channel tolerance (default)
var result = SKPixelComparer.Compare(expected, actual, tolerance: 10);
// Summed tolerance mode
var options = new SKPixelComparerOptions { TolerancePerChannel = false };
var resultSummed = SKPixelComparer.Compare(expected, actual, tolerance: 15, options);