### Interface

# Gimp ColorManaged

#### Description [src]

    interface Gimp.ColorManaged : GObject.Object

An interface dealing with color profiles.

#### Prerequisite

In order to implement ColorManaged, your type must inherit from`GObject`.

#### Instance methods

###### gimp_color_managed_get_color_profile

This function always returns a `GimpColorProfile` and falls back to `gimp_color_profile_new_rgb_srgb()` if the method is not implemented.

since: 2.10

###### gimp_color_managed_get_icc_profile

No description available.

since: 2.4

###### gimp_color_managed_get_simulation_bpc

This function always returns a gboolean representing whether Black Point Compensation is enabled.

since: 3.0

###### gimp_color_managed_get_simulation_intent

This function always returns a `GimpColorRenderingIntent`.

since: 3.0

###### gimp_color_managed_get_simulation_profile

This function always returns a `GimpColorProfile`.

since: 3.0

###### gimp_color_managed_profile_changed

Emits the “profile-changed” signal.

since: 2.4

###### gimp_color_managed_simulation_bpc_changed

Emits the “simulation-bpc-changed” signal.

since: 3.0

###### gimp_color_managed_simulation_intent_changed

Emits the “simulation-intent-changed” signal.

since: 3.0

###### gimp_color_managed_simulation_profile_changed

Emits the “simulation-profile-changed” signal.

since: 3.0

#### Signals

###### Gimp.ColorManaged::profile-changed

No description available.

###### Gimp.ColorManaged::simulation-bpc-changed

No description available.

###### Gimp.ColorManaged::simulation-intent-changed

No description available.

###### Gimp.ColorManaged::simulation-profile-changed

No description available.

#### Interface structure

    struct GimpColorManagedInterface {
      GTypeInterface base_iface;
      const guint8* (* get_icc_profile) (
        GimpColorManaged* managed,
        gsize* len
      );
      void (* profile_changed) (
        GimpColorManaged* managed
      );
      void (* simulation_profile_changed) (
        GimpColorManaged* managed
      );
      void (* simulation_intent_changed) (
        GimpColorManaged* managed
      );
      void (* simulation_bpc_changed) (
        GimpColorManaged* managed
      );
      GimpColorProfile* (* get_color_profile) (
        GimpColorManaged* managed
      );
      GimpColorProfile* (* get_simulation_profile) (
        GimpColorManaged* managed
      );
      GimpColorRenderingIntent (* get_simulation_intent) (
        GimpColorManaged* managed
      );
      gboolean (* get_simulation_bpc) (
        GimpColorManaged* managed
      );

    }

No description available.

###### Interface members

`base_iface`

    GTypeInterface

| The parent interface.

`get_icc_profile`

    const guint8* (* get_icc_profile) (
        GimpColorManaged* managed,
        gsize* len
      )

| Returns the ICC profile of the pixels managed by the object.

`profile_changed`

    void (* profile_changed) (
        GimpColorManaged* managed
      )

| This signal is emitted when the object’s color profile has changed.

`simulation_profile_changed`

    void (* simulation_profile_changed) (
        GimpColorManaged* managed
      )

| No description available.

`simulation_intent_changed`

    void (* simulation_intent_changed) (
        GimpColorManaged* managed
      )

| No description available.

`simulation_bpc_changed`

    void (* simulation_bpc_changed) (
        GimpColorManaged* managed
      )

| No description available.

`get_color_profile`

    GimpColorProfile* (* get_color_profile) (
        GimpColorManaged* managed
      )

| Returns the `GimpColorProfile` of the pixels managed by the object.

`get_simulation_profile`

    GimpColorProfile* (* get_simulation_profile) (
        GimpColorManaged* managed
      )

| Returns the simulation `GimpColorProfile` of the pixels managed by the object.

`get_simulation_intent`

    GimpColorRenderingIntent (* get_simulation_intent) (
        GimpColorManaged* managed
      )

| No description available.

`get_simulation_bpc`

    gboolean (* get_simulation_bpc) (
        GimpColorManaged* managed
      )

| Returns whether black point compensation is enabled for the simulation of the pixels managed by the object.

#### Virtual methods

###### Gimp.ColorManaged.get_color_profile

This function always returns a `GimpColorProfile` and falls back to `gimp_color_profile_new_rgb_srgb()` if the method is not implemented.

since: 2.10

###### Gimp.ColorManaged.get_icc_profile

No description available.

since: 2.4

###### Gimp.ColorManaged.get_simulation_bpc

This function always returns a gboolean representing whether Black Point Compensation is enabled.

since: 3.0

###### Gimp.ColorManaged.get_simulation_intent

This function always returns a `GimpColorRenderingIntent`.

since: 3.0

###### Gimp.ColorManaged.get_simulation_profile

This function always returns a `GimpColorProfile`.

since: 3.0

###### Gimp.ColorManaged.profile_changed

Emits the “profile-changed” signal.

since: 2.4

###### Gimp.ColorManaged.simulation_bpc_changed

Emits the “simulation-bpc-changed” signal.

since: 3.0

###### Gimp.ColorManaged.simulation_intent_changed

Emits the “simulation-intent-changed” signal.

since: 3.0

###### Gimp.ColorManaged.simulation_profile_changed

Emits the “simulation-profile-changed” signal.

since: 3.0