GNOME Bugzilla – Bug 125306
Linear histogram in Levels tool
Last modified: 2004-12-22 21:47:04 UTC
Linear histogram in Levels would be much better when adjusting white and black points. That is not clear why linear histogram is available only in histogram tool. Regards --Jack,
The following change makes the histogram scale a tool option. This means it can be set individually and this setting is saved across sessions. 2003-10-24 Sven Neumann <sven@gimp.org> * app/tools/Makefile.am * app/tools/gimphistogramoptions.[ch]: new tool options class GimpHistogramOptions, derived from GimpColorOptions. * app/tools/gimpcoloroptions.c (gimp_color_options_gui): add gimp_histogram_options_gui() when called with GimpHistogramOptions. This a bit weird since the class hierarchy is the other way around but it makes things easier. * app/tools/gimphistogramtool.c * app/tools/gimplevelstool.c * app/tools/gimpthresholdtool.c: use GimpHistogramOptions and connect the histogram views to the "histogram-scale" property. Perhaps not perfect GUI-wise but it let's you choose the histogram scale and stores this setting per tool. Fixes bug #125306. * app/widgets/gimphistogramview.c: prefixed property names with "histogram-" so they match the GimpHistogramOptions property.
*** Bug 72951 has been marked as a duplicate of this bug. ***