2015
Michael Natterer
Returns the color profile that is used for the image
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.
unknown
Type | Name | Description |
---|---|---|
PF_IMAGE | image | The image |
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() |