[gimp] Bug 763996 - Where appropriate, change "gamma correction" to "gamma adjustment"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 763996 - Where appropriate, change "gamma correction" to "gamma adjustment"
- Date: Mon, 28 Mar 2016 13:00:02 +0000 (UTC)
commit 96d8397114f2d376e29538b292ac1eee0230d49b
Author: Elle Stone <ellestone ninedegreesbelow com>
Date: Mon Mar 21 09:03:04 2016 -0400
Bug 763996 - Where appropriate, change "gamma correction" to "gamma adjustment"
Gamma correction refers to correcting how an image is displayed on
various devices. Gamma adjustment is a more general phrase that also
applies to adjusting gamma as a step in image enhancement in a
color-managed workflow.
app/operations/gimplevelsconfig.c | 4 ++--
app/pdb/color-cmds.c | 2 +-
app/pdb/drawable-color-cmds.c | 2 +-
libgimp/gimpcolor_pdb.c | 2 +-
libgimp/gimpdrawablecolor_pdb.c | 2 +-
plug-ins/common/sample-colorize.c | 2 +-
tools/pdbgen/pdb/color.pdb | 2 +-
tools/pdbgen/pdb/drawable_color.pdb | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/app/operations/gimplevelsconfig.c b/app/operations/gimplevelsconfig.c
index 434b21b..5261e10 100644
--- a/app/operations/gimplevelsconfig.c
+++ b/app/operations/gimplevelsconfig.c
@@ -651,9 +651,9 @@ gimp_levels_config_to_curves_config (GimpLevelsConfig *config)
if (delta_out != 0 && gamma != 1.0)
{
- /* The Levels tool performs gamma correction, which is a
+ /* The Levels tool performs gamma adjustment, which is a
* power law, while the Curves tool uses cubic Bézier
- * curves. Here we try to approximate this gamma correction
+ * curves. Here we try to approximate this gamma adjustment
* with a Bézier curve with 5 control points. Two of them
* must be (low_input, low_output) and (high_input,
* high_output), so we need to add 3 more control points in
diff --git a/app/pdb/color-cmds.c b/app/pdb/color-cmds.c
index f044fb9..67bcb98 100644
--- a/app/pdb/color-cmds.c
+++ b/app/pdb/color-cmds.c
@@ -858,7 +858,7 @@ register_color_procs (GimpPDB *pdb)
gimp_procedure_add_argument (procedure,
g_param_spec_double ("gamma",
"gamma",
- "Gamma correction factor",
+ "Gamma adjustment factor",
0.1, 10, 0.1,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument (procedure,
diff --git a/app/pdb/drawable-color-cmds.c b/app/pdb/drawable-color-cmds.c
index 8e9080c..39b7e36 100644
--- a/app/pdb/drawable-color-cmds.c
+++ b/app/pdb/drawable-color-cmds.c
@@ -1185,7 +1185,7 @@ register_drawable_color_procs (GimpPDB *pdb)
gimp_procedure_add_argument (procedure,
g_param_spec_double ("gamma",
"gamma",
- "Gamma correction factor",
+ "Gamma adjustment factor",
0.1, 10, 0.1,
GIMP_PARAM_READWRITE));
gimp_procedure_add_argument (procedure,
diff --git a/libgimp/gimpcolor_pdb.c b/libgimp/gimpcolor_pdb.c
index 996fcc4..3820cd3 100644
--- a/libgimp/gimpcolor_pdb.c
+++ b/libgimp/gimpcolor_pdb.c
@@ -73,7 +73,7 @@ gimp_brightness_contrast (gint32 drawable_ID,
* @channel: The channel to modify.
* @low_input: Intensity of lowest input.
* @high_input: Intensity of highest input.
- * @gamma: Gamma correction factor.
+ * @gamma: Gamma adjustment factor.
* @low_output: Intensity of lowest output.
* @high_output: Intensity of highest output.
*
diff --git a/libgimp/gimpdrawablecolor_pdb.c b/libgimp/gimpdrawablecolor_pdb.c
index 464c79a..2eeff26 100644
--- a/libgimp/gimpdrawablecolor_pdb.c
+++ b/libgimp/gimpdrawablecolor_pdb.c
@@ -510,7 +510,7 @@ gimp_drawable_invert (gint32 drawable_ID)
* @channel: The channel to modify.
* @low_input: Intensity of lowest input.
* @high_input: Intensity of highest input.
- * @gamma: Gamma correction factor.
+ * @gamma: Gamma adjustment factor.
* @low_output: Intensity of lowest output.
* @high_output: Intensity of highest output.
*
diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c
index f4310a1..a3ed8e3 100644
--- a/plug-ins/common/sample-colorize.c
+++ b/plug-ins/common/sample-colorize.c
@@ -255,7 +255,7 @@ query (void)
{ GIMP_PDB_INT32, "guess-missing", "TRUE: guess samplecolors for the missing intensity values FALSE: use
only colors found in the sample" },
{ GIMP_PDB_INT32, "in-low", "intensity of lowest input (0 <= in_low <= 254)" },
{ GIMP_PDB_INT32, "in-high", "intensity of highest input (1 <= in_high <= 255)" },
- { GIMP_PDB_FLOAT, "gamma", "gamma correction factor (0.1 <= gamma <= 10) where 1.0 is linear" },
+ { GIMP_PDB_FLOAT, "gamma", "gamma adjustment factor (0.1 <= gamma <= 10) where 1.0 is linear" },
{ GIMP_PDB_INT32, "out-low", "lowest sample color intensity (0 <= out_low <= 254)" },
{ GIMP_PDB_INT32, "out-high", "highest sample color intensity (1 <= out_high <= 255)" }
};
diff --git a/tools/pdbgen/pdb/color.pdb b/tools/pdbgen/pdb/color.pdb
index d88cb4c..d05d486 100644
--- a/tools/pdbgen/pdb/color.pdb
+++ b/tools/pdbgen/pdb/color.pdb
@@ -67,7 +67,7 @@ sub levels {
{ name => 'high_input', type => '0 <= int32 <= 255',
desc => "Intensity of highest input" },
{ name => 'gamma', type => '0.1 <= float <= 10',
- desc => 'Gamma correction factor' },
+ desc => 'Gamma adjustment factor' },
{ name => 'low_output', type => '0 <= int32 <= 255',
desc => "Intensity of lowest output" },
{ name => 'high_output', type => '0 <= int32 <= 255',
diff --git a/tools/pdbgen/pdb/drawable_color.pdb b/tools/pdbgen/pdb/drawable_color.pdb
index 7854b47..10c15c4 100644
--- a/tools/pdbgen/pdb/drawable_color.pdb
+++ b/tools/pdbgen/pdb/drawable_color.pdb
@@ -612,7 +612,7 @@ HELP
{ name => 'high_input', type => '0.0 <= float <= 1.0',
desc => "Intensity of highest input" },
{ name => 'gamma', type => '0.1 <= float <= 10',
- desc => 'Gamma correction factor' },
+ desc => 'Gamma adjustment factor' },
{ name => 'low_output', type => '0.0 <= float <= 1.0',
desc => "Intensity of lowest output" },
{ name => 'high_output', type => '0.0 <= float <= 1.0',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]