mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 17:01:47 -06:00
* feat(color): Dot Gain 20%-compatible default working gray, as in Photoshop Photoshop's default working gray is Dot Gain 20%, and its RGB -> Grayscale measured in Photoshop 27.11 (default Color Settings) is D50 luminance encoded with gamma 1.732: sRGB 64 / 128 / 192 grey and pure red become 46 / 105 / 177 / 107. PhotoCraft defaulted to sGray, which kept the sRGB value (64 / 128 / 192 / 130), up to 24 levels off. Adds the built-in "Dot Gain 20%-compatible (gamma 1.732, Photocraft)" gray profile (id dot-gain-20-compat; our own fitted curve, not Adobe's profile, the same gamma PhotoCraft already uses for gray adjustments) and makes it the default working gray and the fallback for untagged gray documents. sGray and Gray Gamma 2.2 stay selectable. This changes a default: untagged gray documents now convert and display as Photoshop shows them (midtones lighter than under sGray); documents with an embedded profile are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Status bar test: the default working gray is now Dot Gain 20%-compatible Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * .atn test: #202020 in the Dot Gain 20%-compatible working gray Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>