get_color_profile


Description:

[ Version ( since = "2.10" ) ]
public ColorProfile? get_color_profile ()

This procedure returns the image's color profile, or null if the image uses the built-in color profile.

See also [method@Gimp.Image.get_effective_color_profile] if you want the effective color profile and don't want to have to deal with null return values.

Parameters:

this

The image.

Returns:

The image's color profile. The returned value must be freed with [method@GObject.Object.unref].