GimpLevelsConfig

GimpLevelsConfig

Synopsis

                    GimpLevelsConfig;
void                gimp_levels_config_reset_channel    (GimpLevelsConfig *config);
void                gimp_levels_config_stretch          (GimpLevelsConfig *config,
                                                         GimpHistogram *histogram,
                                                         gboolean is_color);
void                gimp_levels_config_stretch_channel  (GimpLevelsConfig *config,
                                                         GimpHistogram *histogram,
                                                         GimpHistogramChannel channel);
void                gimp_levels_config_adjust_by_colors (GimpLevelsConfig *config,
                                                         GimpHistogramChannel channel,
                                                         const GimpRGB *black,
                                                         const GimpRGB *gray,
                                                         const GimpRGB *white);
GimpCurvesConfig *  gimp_levels_config_to_curves_config (GimpLevelsConfig *config);
gboolean            gimp_levels_config_load_cruft       (GimpLevelsConfig *config,
                                                         gpointer fp,
                                                         GError **error);
gboolean            gimp_levels_config_save_cruft       (GimpLevelsConfig *config,
                                                         gpointer fp,
                                                         GError **error);
void                gimp_levels_config_to_cruft         (GimpLevelsConfig *config,
                                                         Levels *cruft,
                                                         gboolean is_color);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpImageMapConfig
                     +----GimpLevelsConfig

Implemented Interfaces

GimpLevelsConfig implements GimpConfigInterface.

Properties

  "channel"                  GimpHistogramChannel  : Read / Write / Construct
  "gamma"                    gdouble               : Read / Write / Construct
  "high-input"               gdouble               : Read / Write / Construct
  "high-output"              gdouble               : Read / Write / Construct
  "low-input"                gdouble               : Read / Write / Construct
  "low-output"               gdouble               : Read / Write / Construct

Description

Details

GimpLevelsConfig

typedef struct _GimpLevelsConfig GimpLevelsConfig;


gimp_levels_config_reset_channel ()

void                gimp_levels_config_reset_channel    (GimpLevelsConfig *config);


gimp_levels_config_stretch ()

void                gimp_levels_config_stretch          (GimpLevelsConfig *config,
                                                         GimpHistogram *histogram,
                                                         gboolean is_color);


gimp_levels_config_stretch_channel ()

void                gimp_levels_config_stretch_channel  (GimpLevelsConfig *config,
                                                         GimpHistogram *histogram,
                                                         GimpHistogramChannel channel);


gimp_levels_config_adjust_by_colors ()

void                gimp_levels_config_adjust_by_colors (GimpLevelsConfig *config,
                                                         GimpHistogramChannel channel,
                                                         const GimpRGB *black,
                                                         const GimpRGB *gray,
                                                         const GimpRGB *white);


gimp_levels_config_to_curves_config ()

GimpCurvesConfig *  gimp_levels_config_to_curves_config (GimpLevelsConfig *config);


gimp_levels_config_load_cruft ()

gboolean            gimp_levels_config_load_cruft       (GimpLevelsConfig *config,
                                                         gpointer fp,
                                                         GError **error);


gimp_levels_config_save_cruft ()

gboolean            gimp_levels_config_save_cruft       (GimpLevelsConfig *config,
                                                         gpointer fp,
                                                         GError **error);


gimp_levels_config_to_cruft ()

void                gimp_levels_config_to_cruft         (GimpLevelsConfig *config,
                                                         Levels *cruft,
                                                         gboolean is_color);

Property Details

The "channel" property

  "channel"                  GimpHistogramChannel  : Read / Write / Construct

The affected channel.

Default value: GIMP_HISTOGRAM_VALUE


The "gamma" property

  "gamma"                    gdouble               : Read / Write / Construct

Gamma.

Allowed values: [0.1,10]

Default value: 1


The "high-input" property

  "high-input"               gdouble               : Read / Write / Construct

High Input.

Allowed values: [0,1]

Default value: 1


The "high-output" property

  "high-output"              gdouble               : Read / Write / Construct

High Output.

Allowed values: [0,1]

Default value: 1


The "low-input" property

  "low-input"                gdouble               : Read / Write / Construct

Low Input.

Allowed values: [0,1]

Default value: 0


The "low-output" property

  "low-output"               gdouble               : Read / Write / Construct

Low Output.

Allowed values: [0,1]

Default value: 0