Editing happens on a scaled preview for speed. The download always uses the full-resolution image.
0 = grayscale, 1 = unchanged, >1 = oversaturated.
When enabled, each matrix row is normalized so its sum is 1, mapping white (255,255,255) to white.