matches

fun matches(tolerancePercent: Double = DEFAULT_TOLERANCE_PERCENT, minMismatchedPixels: Int = DEFAULT_MIN_MISMATCHED_PIXELS): Boolean

True when the share of mismatched pixels is within tolerancePercent, or when there are at most minMismatchedPixels of them and none is pronounced — the floor is for faint residue, not for a few pixels that changed outright.