Method
VipsImageicc_import
Declaration [src]
int
vips_icc_import (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
Optional arguments:
pcs
:VipsPCS
, use XYZ or LAB PCSintent
:VipsIntent
, transform with this intentblack_point_compensation
: %gboolean, enable black point compensationembedded
: %gboolean, use profile embedded in input imageinput_profile
: %gchararray, get the input profile from here
Import an image from device space to D65 LAB with an ICC profile. If pcs
is
set to #VIPS_PCS_XYZ, use CIE XYZ PCS instead.
If embedded
is set, the input profile is taken from the input image
metadata. If there is no embedded profile,
input_profile_filename
is used as a fall-back.
You can test for the
presence of an embedded profile with
vips_image_get_typeof()
with #VIPS_META_ICC_NAME as an argument. This will
return %GType 0 if there is no profile.
If embedded
is not set, the input profile is taken from
input_profile
. If input_profile
is not supplied, the
metadata profile, if any, is used as a fall-back.
If black_point_compensation
is set, LCMS black point compensation is enabled.
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. | |
... |
|
|