Method

VipsImageXYZ2CMYK

Declaration [src]

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

Description [src]

Turn XYZ to CMYK. If the image has an embedded ICC profile this will be used for the conversion. If there is no embedded profile, a generic fallback profile will be used.

Conversion is from D65 XYZ with relative intent. If you need more control over the process, use vips_icc_export() instead.

This method is not directly available to language bindings.

Parameters

out VipsImage
 

Output image.

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

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.