Gimp.Image.prototype.get_effective_color_profile

function get_effective_color_profile(): Gimp.ColorProfile {
    // Gjs wrapper for gimp_image_get_effective_color_profile()
}
  

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.prototype.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.

Since 2.10

Returns

The color profile. The returned value must be freed with g_object_unref().