Method

VipsImageicc_export

Declaration [src]

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

Description [src]

Export an image from D65 LAB to device space with an ICC profile.

If pcs is set to VipsPCS, use CIE XYZ PCS instead. If output_profile is not set, use the embedded profile, if any. If output_profile is set, export with that and attach it to the output image.

If black_point_compensation is set, LCMS black point compensation is enabled.

::: tip “Optional arguments” * pcs: VipsPCS, use XYZ or LAB PCS * intent: VipsIntent, transform with this intent * black_point_compensation: gboolean, enable black point compensation * output_profile: gchararray, get the output profile from here * depth: gint, depth of output image in bits.

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.
... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.