channelEpsilon constant

int const channelEpsilon

A pixel counts as changed when a channel moves by more than this.

Not zero: the same code rasterized twice on the same machine is bit-identical, but nearly the same code — a widget one logical pixel wider — repaints antialiased edges everywhere, and a 1/255 fringe is not a finding. Small enough that a real colour change never hides under it.

Implementation

static const channelEpsilon = 4;