Function
Vipsprofile_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 |
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 |
VipsBlob |
Loaded profile. |
|
| The argument will be set by the function. | |
| The called function takes ownership of the data, and is responsible for freeing it. | |
... |
|
|