Function

Vipscol_scRGB2XYZ

Declaration [src]

int
vips_col_scRGB2XYZ (
  float R,
  float G,
  float B,
  float* X,
  float* Y,
  float* Z
)

Description [src]

Turn scRGB into XYZ.

::: seealso vips_scRGB2XYZ().

Parameters

R float
 

Input scRGB value.

G float
 

Input scRGB value.

B float
 

Input scRGB value.

X float*
 

Return XYZ colour.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
Y float*
 

Return XYZ colour.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
Z float*
 

Return XYZ colour.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: int
  No description available.