Class

GimpColorProfile

Description [src]

class Gimp.ColorProfile : GObject.Object {
  parent_instance: GObject,
  priv: GimpColorProfilePrivate*
}

Definitions and Functions relating to LCMS.

Hierarchy

hierarchy this GimpColorProfile ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

gimp_color_profile_new_d50_gray_lab_trc

This function creates a grayscale GimpColorProfile with the D50 ICC profile illuminant as the profile white point and the LAB companding curve as the TRC.

since: 2.10

gimp_color_profile_new_d65_gray_linear
No description available.

gimp_color_profile_new_d65_gray_srgb_trc

This function creates a grayscale GimpColorProfile with an sRGB TRC. See gimp_color_profile_new_rgb_srgb().

since: 2.10

gimp_color_profile_new_from_file

This function opens an ICC color profile from file.

since: 2.10

gimp_color_profile_new_from_icc_profile

This function opens an ICC color profile from memory. On error, NULL is returned and error is set.

since: 2.10

gimp_color_profile_new_from_lcms_profile

This function creates a GimpColorProfile from a cmsHPROFILE. On error, NULL is returned and error is set. The passed lcms_profile pointer is not retained by the created GimpColorProfile.

since: 2.10

gimp_color_profile_new_rgb_adobe

This function creates a profile compatible with AbobeRGB (1998).

since: 2.10

gimp_color_profile_new_rgb_srgb

This function is a replacement for cmsCreate_sRGBProfile() and returns an sRGB profile that is functionally the same as the ArgyllCMS sRGB.icm profile. “Functionally the same” means it has the same red, green, and blue colorants and the V4 “chad” equivalent of the ArgyllCMS V2 white point. The profile TRC is also functionally equivalent to the ArgyllCMS sRGB.icm TRC and is the same as the LCMS sRGB built-in profile TRC.

since: 2.10

gimp_color_profile_new_rgb_srgb_linear

This function creates a profile for babl_model(“RGB”). Please somebody write something smarter here.

since: 2.10

Functions

gimp_color_profile_get_lcms_format

This function takes a Babl format and returns the lcms format to be used with that format. It also returns a Babl format to be used instead of the passed format, which usually is the same as format, unless lcms doesn’t support format.

since: 2.10

Instance methods

gimp_color_profile_get_copyright
No description available.

since: 2.10

gimp_color_profile_get_description
No description available.

since: 2.10

gimp_color_profile_get_format

This function takes a GimpColorProfile and a Babl format and returns a new Babl format with profiles RGB primaries and TRC, and formats pixel layout.

since: 2.10

gimp_color_profile_get_icc_profile

This function returns profile as ICC profile data. The returned memory belongs to profile and must not be modified or freed.

since: 2.10

gimp_color_profile_get_label

This function returns a string containing profiles “title”, a string that can be used to label the profile in a user interface.

since: 2.10

gimp_color_profile_get_lcms_profile

This function returns profiles cmsHPROFILE. The returned value belongs to profile and must not be modified or freed.

since: 2.10

gimp_color_profile_get_manufacturer
No description available.

since: 2.10

gimp_color_profile_get_model
No description available.

since: 2.10

gimp_color_profile_get_space

This function returns the Babl space of profile, for the specified intent.

since: 2.10.6

gimp_color_profile_get_summary

This function return a string containing a multi-line summary of profiles description, model, manufacturer and copyright, to be used as detailed information about the profile in a user interface.

since: 2.10

gimp_color_profile_is_cmyk
No description available.

since: 2.10

gimp_color_profile_is_equal

Compares two profiles.

since: 2.10

gimp_color_profile_is_gray
No description available.

since: 2.10

gimp_color_profile_is_linear

This function determines is the ICC profile represented by a GimpColorProfile is a linear RGB profile or not, some profiles that are LUTs though linear will also return FALSE;

since: 2.10

gimp_color_profile_is_rgb
No description available.

since: 2.10

gimp_color_profile_new_linear_from_color_profile

This function creates a new RGB GimpColorProfile with a linear TRC and profiles RGB chromacities and whitepoint.

since: 2.10

gimp_color_profile_new_srgb_trc_from_color_profile

This function creates a new RGB GimpColorProfile with a sRGB gamma TRC and profiles RGB chromacities and whitepoint.

since: 2.10

gimp_color_profile_save_to_file

This function saves profile to file as ICC profile.

since: 2.10

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GimpColorProfileClass {
  GObjectClass parent_class;
  void (* _gimp_reserved1) (
void
  );
  void (* _gimp_reserved2) (
void
  );
  void (* _gimp_reserved3) (
void
  );
  void (* _gimp_reserved4) (
void
  );
  void (* _gimp_reserved5) (
void
  );
  void (* _gimp_reserved6) (
void
  );
  void (* _gimp_reserved7) (
void
  );
  void (* _gimp_reserved8) (
void
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
_gimp_reserved1: void (* _gimp_reserved1) ( void )
No description available.
_gimp_reserved2: void (* _gimp_reserved2) ( void )
No description available.
_gimp_reserved3: void (* _gimp_reserved3) ( void )
No description available.
_gimp_reserved4: void (* _gimp_reserved4) ( void )
No description available.
_gimp_reserved5: void (* _gimp_reserved5) ( void )
No description available.
_gimp_reserved6: void (* _gimp_reserved6) ( void )
No description available.
_gimp_reserved7: void (* _gimp_reserved7) ( void )
No description available.
_gimp_reserved8: void (* _gimp_reserved8) ( void )
No description available.