mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
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.