2000-06-01 20:20:13 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 08:47:26 +08:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
2000-06-01 20:20:13 +08:00
|
|
|
*
|
|
|
|
* gimpcolor_pdb.h
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2007-01-09 18:52:47 +08:00
|
|
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
2000-06-01 20:20:13 +08:00
|
|
|
|
|
|
|
#ifndef __GIMP_COLOR_PDB_H__
|
|
|
|
#define __GIMP_COLOR_PDB_H__
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_BEGIN_DECLS
|
2000-06-01 20:20:13 +08:00
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
|
|
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_brightness_contrast (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
gint brightness,
|
|
|
|
gint contrast);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_levels (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpHistogramChannel channel,
|
|
|
|
gint low_input,
|
|
|
|
gint high_input,
|
|
|
|
gdouble gamma,
|
|
|
|
gint low_output,
|
|
|
|
gint high_output);
|
2004-11-02 00:05:19 +08:00
|
|
|
#ifndef GIMP_DISABLE_DEPRECATED
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_levels_auto (gint32 drawable_ID);
|
2004-11-02 00:05:19 +08:00
|
|
|
#endif /* GIMP_DISABLE_DEPRECATED */
|
2004-11-02 00:20:47 +08:00
|
|
|
gboolean gimp_levels_stretch (gint32 drawable_ID);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_posterize (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
gint levels);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_desaturate (gint32 drawable_ID);
|
2005-04-20 04:31:30 +08:00
|
|
|
gboolean gimp_desaturate_full (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpDesaturateMode desaturate_mode);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_equalize (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
gboolean mask_only);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_invert (gint32 drawable_ID);
|
|
|
|
gboolean gimp_curves_spline (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpHistogramChannel channel,
|
|
|
|
gint num_points,
|
|
|
|
const guint8 *control_pts);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_curves_explicit (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpHistogramChannel channel,
|
|
|
|
gint num_bytes,
|
|
|
|
const guint8 *curve);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_color_balance (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpTransferMode transfer_mode,
|
|
|
|
gboolean preserve_lum,
|
|
|
|
gdouble cyan_red,
|
|
|
|
gdouble magenta_green,
|
|
|
|
gdouble yellow_blue);
|
2004-10-03 20:57:06 +08:00
|
|
|
gboolean gimp_colorize (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
gdouble hue,
|
|
|
|
gdouble saturation,
|
|
|
|
gdouble lightness);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_histogram (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpHistogramChannel channel,
|
|
|
|
gint start_range,
|
|
|
|
gint end_range,
|
|
|
|
gdouble *mean,
|
|
|
|
gdouble *std_dev,
|
|
|
|
gdouble *median,
|
|
|
|
gdouble *pixels,
|
|
|
|
gdouble *count,
|
|
|
|
gdouble *percentile);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_hue_saturation (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
GimpHueRange hue_range,
|
|
|
|
gdouble hue_offset,
|
|
|
|
gdouble lightness,
|
|
|
|
gdouble saturation);
|
2004-01-14 00:19:50 +08:00
|
|
|
gboolean gimp_threshold (gint32 drawable_ID,
|
2006-04-12 18:27:31 +08:00
|
|
|
gint low_threshold,
|
|
|
|
gint high_threshold);
|
2000-06-01 20:20:13 +08:00
|
|
|
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_END_DECLS
|
2000-06-01 20:20:13 +08:00
|
|
|
|
|
|
|
#endif /* __GIMP_COLOR_PDB_H__ */
|