matches
fun matches(tolerancePercent: Double = DEFAULT_TOLERANCE_PERCENT, minMismatchedPixels: Int = DEFAULT_MIN_MISMATCHED_PIXELS, pronouncedPixelBudget: Int = DEFAULT_PRONOUNCED_PIXEL_BUDGET): Boolean
True when there are at most minMismatchedPixels mismatched pixels and none is pronounced — the floor is for faint residue, not for a few pixels that changed outright — or when the share of mismatched pixels is within tolerancePercent and at most pronouncedPixelBudget of them are pronounced. The budget is a count, not a share, so the size of an edit the share lets through no longer grows with the canvas.