## gimpcolor gimpcolor |

## Functions

gboolean | gimp_brightness_contrast ()
gboolean | gimp_levels ()
gboolean | gimp_levels_auto ()
gboolean | gimp_levels_stretch ()
gboolean | gimp_posterize ()
gboolean | gimp_desaturate ()
gboolean | gimp_desaturate_full ()
gboolean | gimp_equalize ()
gboolean | gimp_invert ()
gboolean | gimp_curves_spline ()
gboolean | gimp_curves_explicit ()
gboolean | gimp_color_balance ()
gboolean | gimp_colorize ()
gboolean | gimp_histogram ()
gboolean | gimp_hue_saturation ()
gboolean | gimp_threshold ()

## Description

## Functions

### gimp_brightness_contrast ()

    gboolean
    gimp_brightness_contrast (gint32 drawable_ID,
                              gint brightness,
                              gint contrast);

### gimp_levels ()

    gboolean
    gimp_levels (gint32 drawable_ID,
                 GimpHistogramChannel channel,
                 gint low_input,
                 gint high_input,
                 gdouble gamma,
                 gint low_output,
                 gint high_output);

### gimp_levels_auto ()

    gboolean
    gimp_levels_auto (gint32 drawable_ID);

`gimp_levels_auto` is deprecated and should not be used in newly-written code.

Use `gimp_levels_stretch()` instead.

### gimp_levels_stretch ()

    gboolean
    gimp_levels_stretch (gint32 drawable_ID);

`gimp_levels_stretch` is deprecated and should not be used in newly-written code.

### gimp_posterize ()

    gboolean
    gimp_posterize (gint32 drawable_ID,
                    gint levels);

### gimp_desaturate ()

    gboolean
    gimp_desaturate (gint32 drawable_ID);

### gimp_desaturate_full ()

    gboolean
    gimp_desaturate_full (gint32 drawable_ID,
                          GimpDesaturateMode desaturate_mode);

Since: GIMP 2.4

### gimp_equalize ()

    gboolean
    gimp_equalize (gint32 drawable_ID,
                   gboolean mask_only);

### gimp_invert ()

    gboolean
    gimp_invert (gint32 drawable_ID);

### gimp_curves_spline ()

    gboolean
    gimp_curves_spline (gint32 drawable_ID,
                        GimpHistogramChannel channel,
                        gint num_points,
                        const guint8 *control_pts);

### gimp_curves_explicit ()

    gboolean
    gimp_curves_explicit (gint32 drawable_ID,
                          GimpHistogramChannel channel,
                          gint num_bytes,
                          const guint8 *curve);

### gimp_color_balance ()

    gboolean
    gimp_color_balance (gint32 drawable_ID,
                        GimpTransferMode transfer_mode,
                        gboolean preserve_lum,
                        gdouble cyan_red,
                        gdouble magenta_green,
                        gdouble yellow_blue);

### gimp_colorize ()

    gboolean
    gimp_colorize (gint32 drawable_ID,
                   gdouble hue,
                   gdouble saturation,
                   gdouble lightness);

Since: GIMP 2.2

### gimp_histogram ()

    gboolean
    gimp_histogram (gint32 drawable_ID,
                    GimpHistogramChannel channel,
                    gint start_range,
                    gint end_range,
                    gdouble *mean,
                    gdouble *std_dev,
                    gdouble *median,
                    gdouble *pixels,
                    gdouble *count,
                    gdouble *percentile);

### gimp_hue_saturation ()

    gboolean
    gimp_hue_saturation (gint32 drawable_ID,
                         GimpHueRange hue_range,
                         gdouble hue_offset,
                         gdouble lightness,
                         gdouble saturation);

### gimp_threshold ()

    gboolean
    gimp_threshold (gint32 drawable_ID,
                    gint low_threshold,
                    gint high_threshold);

## Types and Values