fn curves(img: &mut Frame, k: &[f64; 12])
Per-channel curves then the master curve (12 knots: master, R, G, B).