Files
photocraft/crates/engine-paint
qvest-ssels 94ba7afff6 Dodge and Burn: single-channel curve in 8-bit Grayscale and on layer masks (#12675, #12689)
In an 8-bit Grayscale document and on a targeted layer mask, a default
Dodge or Burn click (Midtones, Protect Tones on, Exposure 50 %) now uses
its own single-channel curve, fitted to the reference's six measured
greys: Burn v - 0.236*v*(1-v)^1.15, Dodge v + 0.094*v^0.2*(1-v). Both
land within 1 level of every measured point (Burn 32/128/224 -> 26/114/219,
Dodge -> 46/138/227; before: 23/91/218 and 46/161/228).

RGB documents, 16- and 32-bit Grayscale and masks, the other ranges and
exposures, Protect Tones off, alpha channels, the Quick Mask and filter
masks were not measured and keep the RGB curve.
2026-11-28 12:36:16 +01:00
..