Method

VipsImageCICP2scRGB

Declaration [src]

int
vips_CICP2scRGB (
  VipsImage* in,
  VipsImage** out,
  ...
)

Description [src]

Transform an image with CICP signal to scRGB.

This operation does not remove CICP metadata from out. The following tags should be updated or removed to reflect the conversion: - VIPS_META_CICP_COLOUR_PRIMARIES - VIPS_META_CICP_TRANSFER_CHARACTERISTICS - VIPS_META_CICP_MATRIX_COEFFICIENTS - VIPS_META_CICP_FULL_RANGE_FLAG

See also

vips_scRGB2CICP().

This method is not directly available to language bindings.

Parameters

out

Type: VipsImage

Output image.

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

Type: 

NULL-terminated list of optional named arguments.

Return value

Type: int

0 on success, -1 on error.