libgimpcolor: add some note to gimp_color_is_perceptually_identical() docs.

This commit is contained in:
Jehan 2025-11-21 19:30:33 +01:00
parent c558e41517
commit 8bc88115ca

View file

@ -120,6 +120,12 @@ gimp_color_set_alpha (GeglColor *color,
* } * }
* ``` * ```
* *
* Note that this relation is not transitive, because it is based on a
* color distance algorithm. It means that if color1 is perceptually
* identical to color2, which is perceptually identical to color3, it
* does not mean that color1 is perceptually identical to color3, as far
* this algorithm is concerned.
*
* Returns: whether the 2 colors can be considered the same for the human eyes. * Returns: whether the 2 colors can be considered the same for the human eyes.
* *
* Since: 3.0 * Since: 3.0