space_from_rgbxyz_matrix
Description:
public unowned Object? space_from_rgbxyz_matrix (string? name, double wx, double wy, double wz, double rx, double gx, double bx, double ry, double gy, double by, double rz, double gz, double bz, Object trc_red, Object? trc_green, Object? trc_blue)
Creates a new RGB matrix color space definition using a precomputed D50 adapted 3x3 matrix and associated CIE XYZ whitepoint, as possibly read from an ICC profile.
Parameters:
name |
The name for the color space |
wx |
The X-coordinate of the color space's white point |
wy |
The Y-coordinate of the color space's white point |
wz |
The Z-coordinate of the color space's white point |
rx |
The X-coordinate of the red primary |
gx |
The X-coordinate of the green primary |
bx |
The X-coordinate of the blue primary |
ry |
The Y-coordinate of the red primary |
gy |
The Y-coordinate of the green primary |
by |
The Y-coordinate of the blue primary |
rz |
The Z-coordinate of the red primary |
gz |
The Z-coordinate of the green primary |
bz |
The Z-coordinate of the blue primary |
trc_red |
The red component of the TRC. |
trc_green |
The green component of the TRC (can be null if it's the same as |
trc_blue |
The blue component of the TRC (can be null if it's the same as |