### Struct

# Gimp CMYK

#### Description [src]

    struct GimpCMYK {
      gdouble c;
      gdouble m;
      gdouble y;
      gdouble k;
      gdouble a;
    }

Definitions and Functions relating to CMYK colors.

###### Structure members

`c` | The cyan component.
`m` | The magenta component.
`y` | The yellow component.
`k` | The black component.
`a` | The alpha component.

#### Instance methods

###### gimp_cmyka_get_uchar

Retrieve individual channel values from a `GimpCMYK` structure. Channel values are pointers to unsigned chars in the range 0 to 255.

###### gimp_cmyka_set

Initialiser for the internal `GimpCMYK` structure. Channel values are doubles in the range 0 to 1.

###### gimp_cmyka_set_uchar

The same as gimp_cmyka_set(), except that channel values are unsigned chars in the range 0 to 255.

###### gimp_cmyk_get_uchar

Retrieve individual channel values from a `GimpCMYK` structure. Channel values are pointers to unsigned chars in the range 0 to 255.

###### gimp_cmyk_set

Very basic initialiser for the internal `GimpCMYK` structure. Channel values are doubles in the range 0 to 1.

###### gimp_cmyk_set_uchar

The same as gimp_cmyk_set(), except that channel values are unsigned chars in the range 0 to 255.

###### gimp_cmyk_to_rgb

Does a simple transformation from the CMYK colorspace to the RGB colorspace, without taking color profiles into account.