mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-27 19:47:35 -06:00
Holding ⌥ (Option) while dragging a slider shows a diagnostic view in the loupe, as in Lightroom; releasing ⌥ or the slider brings the photo back and nothing is saved: - Blacks: shadow clipping (white; black where every channel is 0, the colour of the unclipped channels where only some are). - Whites / Exposure: highlight clipping (black; white where every channel is 255, the clipped channels' colour where only some are). - Sharpening Masking: the weight sharpening gets at each pixel, white on black. - Sharpening Amount / Radius / Detail, luminance NR: the image in grey. New `Overlay` variants (ShadowClip, HighlightClip, SharpenMask, Grey) are drawn by the shared `visualize::apply`, so CPU and GPU agree; the sharpening mask needs the detail planes and renders on the CPU (like HdrRange). The mask uses the same weight function as the render (`finish::sharpen_weight`). With a display profile the clipping views are tested in sRGB, like the histogram, and diagnostic views keep the photo's histogram instead of the view's. Tracker: LR-VIEW-CLIPPING ✅ → 🟡 (J only frames the photo, it doesn't paint clipped pixels) and LR-EDIT-DETAIL-SHARPEN ✅ → 🟡 (Radius and Detail don't reach the render). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>