babl: new babl_space_is_rgb().
commitc35674a0f535356162399e5b955ec0da5fbd425a
authorJehan <jehan@girinstud.io>
Wed, 4 Oct 2023 18:50:20 +0000 (4 20:50 +0200)
committerJehan <jehan@girinstud.io>
Wed, 4 Oct 2023 18:54:13 +0000 (4 20:54 +0200)
tree61eac7fed67d6d465406015da9cf887e522562a6
parent80c3a1e5cad62f3ce30ed0bfebe3b6e9f84d785b
babl: new babl_space_is_rgb().

Similar to babl_space_is_cmyk|gray() functions, because right now to
know whether a space is RGB, we have to test whether it's **not** any of
the other. And such code would break as soon as we will add new values
to BablICCType.
babl/babl-space.c
babl/babl.h
export-symbols