get_xyz_for_rgb


Description:

[ Version ( since = "1.2.6" ) ]
public unowned ColorXYZ get_xyz_for_rgb (double R, double G, double B, double delta)

Gets the XYZ value for a specific RGB value.

Parameters:

this

a It8 instance.

R

the red value

G

the green value

B

the blue value

delta

the smallest difference between colors, e.g. 0.01f

Returns:

A CdColorXYZ, or null if the sample does not exist.




2022 vala-language.org