mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 09:19:25 +01:00
To make room for the pooled extension in the curve's 32 knots, extend_tone kept every n-th knot of the photo's own curve, which could move the curve inside the range its JPEG showed (a sharp toe most). It now drops the knots the curve needs least, one at a time, within one 8-bit code (thinned_knots); with fewer extension knots if needed, or the photo's curve as fitted when even two don't fit. On a D750 bracket renders move by at most dE 0.09. LOOK_VERSION 13. Found by CodeRabbit on #2093.