gimp-image-get-effective-color-profile

Michael Natterer <mitch@gimp.org>

Description

Returns the color profile that is used for the image

Help

This procedure returns the color profile that is actually used for this image, which is the profile returned by 'gimp-image-get-color-profile' if the image has a profile assigned, or the default RGB profile from preferences if no profile is assigned to the image. If there is no default RGB profile configured in preferences either, a generated default RGB profile is returned.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

Type Name Description
PF_INT num-bytes Number of bytes in the color_profile array (num-bytes >= 0)
unknown profile-data The image's serialized color profile. The returned value must be freed with g_free()