clip constant

GamutMapMethod const clip

Clamp each color channel that's outside the gamut to the minimum or maximum value for that channel.

This algorithm will produce poor visual results, but it may be useful to match the behavior of other situations in which a color can be clipped.

Implementation

static const GamutMapMethod clip = ClipGamutMap();