1 /* LIBGIMP - The GIMP Library 2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball 3 * 4 * gimpcolor_pdb.h 5 * 6 * This library is free software: you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 3 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library. If not, see 18 * <https://www.gnu.org/licenses/>. 19 */ 20 21 /* NOTE: This file is auto-generated by pdbgen.pl */ 22 23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION) 24 #error "Only <libgimp/gimp.h> can be included directly." 25 #endif 26 27 #ifndef __GIMP_COLOR_PDB_H__ 28 #define __GIMP_COLOR_PDB_H__ 29 30 G_BEGIN_DECLS 31 32 /* For information look into the C source or the html documentation */ 33 34 35 GIMP_DEPRECATED_FOR(gimp_drawable_brightness_contrast) 36 gboolean gimp_brightness_contrast (gint32 drawable_ID, 37 gint brightness, 38 gint contrast); 39 GIMP_DEPRECATED_FOR(gimp_drawable_levels) 40 gboolean gimp_levels (gint32 drawable_ID, 41 GimpHistogramChannel channel, 42 gint low_input, 43 gint high_input, 44 gdouble gamma, 45 gint low_output, 46 gint high_output); 47 GIMP_DEPRECATED_FOR(gimp_drawable_levels_stretch) 48 gboolean gimp_levels_auto (gint32 drawable_ID); 49 GIMP_DEPRECATED_FOR(gimp_drawable_levels_stretch) 50 gboolean gimp_levels_stretch (gint32 drawable_ID); 51 GIMP_DEPRECATED_FOR(gimp_drawable_posterize) 52 gboolean gimp_posterize (gint32 drawable_ID, 53 gint levels); 54 GIMP_DEPRECATED_FOR(gimp_drawable_desaturate) 55 gboolean gimp_desaturate (gint32 drawable_ID); 56 GIMP_DEPRECATED_FOR(gimp_drawable_desaturate) 57 gboolean gimp_desaturate_full (gint32 drawable_ID, 58 GimpDesaturateMode desaturate_mode); 59 GIMP_DEPRECATED_FOR(gimp_drawable_equalize) 60 gboolean gimp_equalize (gint32 drawable_ID, 61 gboolean mask_only); 62 GIMP_DEPRECATED_FOR(gimp_drawable_invert) 63 gboolean gimp_invert (gint32 drawable_ID); 64 GIMP_DEPRECATED_FOR(gimp_drawable_curves_spline) 65 gboolean gimp_curves_spline (gint32 drawable_ID, 66 GimpHistogramChannel channel, 67 gint num_points, 68 const guint8 *control_pts); 69 GIMP_DEPRECATED_FOR(gimp_drawable_curves_explicit) 70 gboolean gimp_curves_explicit (gint32 drawable_ID, 71 GimpHistogramChannel channel, 72 gint num_bytes, 73 const guint8 *curve); 74 GIMP_DEPRECATED_FOR(gimp_drawable_color_color_balance) 75 gboolean gimp_color_balance (gint32 drawable_ID, 76 GimpTransferMode transfer_mode, 77 gboolean preserve_lum, 78 gdouble cyan_red, 79 gdouble magenta_green, 80 gdouble yellow_blue); 81 GIMP_DEPRECATED_FOR(gimp_drawable_colorize_hsl) 82 gboolean gimp_colorize (gint32 drawable_ID, 83 gdouble hue, 84 gdouble saturation, 85 gdouble lightness); 86 GIMP_DEPRECATED_FOR(gimp_drawable_histogram) 87 gboolean gimp_histogram (gint32 drawable_ID, 88 GimpHistogramChannel channel, 89 gint start_range, 90 gint end_range, 91 gdouble *mean, 92 gdouble *std_dev, 93 gdouble *median, 94 gdouble *pixels, 95 gdouble *count, 96 gdouble *percentile); 97 GIMP_DEPRECATED_FOR(gimp_drawable_hue_saturation) 98 gboolean gimp_hue_saturation (gint32 drawable_ID, 99 GimpHueRange hue_range, 100 gdouble hue_offset, 101 gdouble lightness, 102 gdouble saturation); 103 GIMP_DEPRECATED_FOR(gimp_drawable_threshold) 104 gboolean gimp_threshold (gint32 drawable_ID, 105 gint low_threshold, 106 gint high_threshold); 107 108 109 G_END_DECLS 110 111 #endif /* __GIMP_COLOR_PDB_H__ */ 112