Closed ijlyttle closed 3 years ago
It sees like pth_max_chroma()
will be where the action is. This will be a root-finding problem using x_gamut()
; it will be easiest for me to sketch out what happens for a single color.
x_gamut()
.This has the potential to become an expensive operation; perhaps we will use it sparingly.
We will need to determine, for a given color space, the extent of the RGB gamut.
We could also use an internal function: