Function
VipsBlobprofile_load
Declaration [src]
int
vips_profile_load (
const char* name,
VipsBlob** profile,
...
)
Description [src]
Load a named profile.
Profiles are loaded from four sources:
-
The special name
"none"means no profile.profilewill beNULLin this case. -
namecan be the name of one of the ICC profiles embedded in libvips. These names can be at least"cmyk","p3"and"srgb". -
namecan be the full path to a file. -
namecan be the name of an ICC profile in the system profile directory for your platform.
This function is not directly available to language bindings.
Parameters
name-
Type:
const char*Name of profile to load.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. profile-
Type:
VipsBlobLoaded profile.
The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. ...-
Type:
NULL-terminated list of optional named arguments.