Top | ![]() |
![]() |
![]() |
![]() |
EntangleColourProfile * | entangle_colour_profile_new_file () |
EntangleColourProfile * | entangle_colour_profile_new_data () |
const char * | entangle_colour_profile_filename () |
char * | entangle_colour_profile_description () |
char * | entangle_colour_profile_manufacturer () |
char * | entangle_colour_profile_model () |
char * | entangle_colour_profile_copyright () |
EntangleColourProfileTransform * | entangle_colour_profile_transform_new () |
GdkPixbuf * | entangle_colour_profile_transform_apply () |
GByteArray * | data | Read / Write / Construct Only |
gchar * | filename | Read / Write / Construct Only |
EntangleColourProfile * | dst-profile | Read / Write / Construct Only |
EntangleColourProfileIntent | rendering-intent | Read / Write / Construct Only |
EntangleColourProfile * | src-profile | Read / Write / Construct Only |
GEnum ╰── EntangleColourProfileIntent GObject ├── EntangleColourProfile ╰── EntangleColourProfileTransform
EntangleColourProfile *
entangle_colour_profile_new_file (const char *filename
);
Create a new colour profile initializing from the contents
of filename
.
EntangleColourProfile *
entangle_colour_profile_new_data (GByteArray *data
);
Create a new colour profile initializing from data
. The data
will not be copied, rather a reference taken, so the contents
should not be changed by the caller
const char *
entangle_colour_profile_filename (EntangleColourProfile *profile
);
Get the filename holding the profile on disk, if any.
char *
entangle_colour_profile_description (EntangleColourProfile *profile
);
Get the description of the profile
char *
entangle_colour_profile_manufacturer (EntangleColourProfile *profile
);
Get the manufacturer of the profile
char *
entangle_colour_profile_model (EntangleColourProfile *profile
);
Get the model of the profile
char *
entangle_colour_profile_copyright (EntangleColourProfile *profile
);
Get the copyright of the profile
EntangleColourProfileTransform * entangle_colour_profile_transform_new (EntangleColourProfile *src
,EntangleColourProfile *dst
,EntangleColourProfileIntent intent
);
Create a colour profile transformation that is able to convert
images in the profile src
to be in the profile dst
.
GdkPixbuf * entangle_colour_profile_transform_apply (EntangleColourProfileTransform *trans
,GdkPixbuf *srcpixbuf
);
Apply the colour profile transformation trans
to the pixbuf
data in srcpixbuf
and return a new pixbuf whose data is
in the target colour profile. The contents of srcpixbuf
will
not be altered in any way.
“data”
property “data” GByteArray *
Raw data for the profile.
Flags: Read / Write / Construct Only
“filename”
property “filename” gchar *
Filename of the profile.
Flags: Read / Write / Construct Only
Default value: NULL
“dst-profile”
property“dst-profile” EntangleColourProfile *
Destination Profile.
Flags: Read / Write / Construct Only
“rendering-intent”
property“rendering-intent” EntangleColourProfileIntent
Profile rendering intent.
Flags: Read / Write / Construct Only
Default value: ENTANGLE_COLOUR_PROFILE_INTENT_PERCEPTUAL
“src-profile”
property“src-profile” EntangleColourProfile *
Source profile.
Flags: Read / Write / Construct Only