color_is_out_of_self_gamut


Description:


[ Version ( since = "3.0" ) ]
public bool color_is_out_of_self_gamut (Color color)

Determine whether color is out of its own space gamut.

This can only happen if the color space is unbounded and any of the color component is out of the `[0; 1]` range. A small error of margin is accepted, so that for instance a component at -0.0000001 is not making the whole color to be considered as out-of-gamut while it may just be computation imprecision.

Parameters:

color

a [class@Gegl.Color]

Returns:

whether the color is out of its own color space gamut.


Namespace: Gimp
Package: gimp-3.0