Files
photocraft/docs
Tom InglingandClaude Opus 5.5 b46f93b494 feat(color): Color Settings › Spot dot gain for spot channel previews
Photoshop's Color Settings has a Spot working space (default Dot Gain 20 %) that its
preview of spot channels and Multichannel inks adds, so a 50 % dot shows as it prints on
press. PhotoCraft previewed spot inks linearly.

- `spotDotGain` in `edit.colorSettings` (0–49 %, default 20), saved with the preferences
  and honoured by prefs.set / prefs.reset, like blendTextGamma.
- compose: `multichannel::set_spot_dot_gain` / `dot_gain`; the ink preview prints each
  channel through 1 − (1 − v)^γ with γ chosen so a 50 % dot shows at 50 % + gain (the curve
  family of the built-in Dot Gain 20 %-compatible gray). Matches Photoshop's Custom Dot Gain
  curve for 50 % → 88 % within 1 % across the range.
- ui: spot overlays in the Channels view use it; the canvas display key and the channel
  view key include it, so changing the setting redraws open documents.
- Process-wide like the text gamma, so the tests that change it have their own binaries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 16:39:05 -04:00
..
2026-10-12 22:41:38 -04:00