[gimp/gimp-2-10] plug-ins: GimpPrecision has no NON_LINEAR and PERCEPTUAL values.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: GimpPrecision has no NON_LINEAR and PERCEPTUAL values.
- Date: Fri, 12 Apr 2019 15:17:24 +0000 (UTC)
commit 1c3317db707b6fc1fc7aa96a7b17f3f851ddcdc3
Author: Jehan <jehan girinstud io>
Date: Fri Apr 12 17:14:57 2019 +0200
plug-ins: GimpPrecision has no NON_LINEAR and PERCEPTUAL values.
Fixing commit 532866007d.
plug-ins/file-jpeg/jpeg-save.c | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg-save.c b/plug-ins/file-jpeg/jpeg-save.c
index 61e38d9a46..79c20c7905 100644
--- a/plug-ins/file-jpeg/jpeg-save.c
+++ b/plug-ins/file-jpeg/jpeg-save.c
@@ -566,19 +566,12 @@ save_image (const gchar *filename,
linear = TRUE;
break;
- case GIMP_PRECISION_U8_NON_LINEAR:
- case GIMP_PRECISION_U16_NON_LINEAR:
- case GIMP_PRECISION_U32_NON_LINEAR:
- case GIMP_PRECISION_HALF_NON_LINEAR:
- case GIMP_PRECISION_FLOAT_NON_LINEAR:
- case GIMP_PRECISION_DOUBLE_NON_LINEAR:
-
- case GIMP_PRECISION_U8_PERCEPTUAL:
- case GIMP_PRECISION_U16_PERCEPTUAL:
- case GIMP_PRECISION_U32_PERCEPTUAL:
- case GIMP_PRECISION_HALF_PERCEPTUAL:
- case GIMP_PRECISION_FLOAT_PERCEPTUAL:
- case GIMP_PRECISION_DOUBLE_PERCEPTUAL:
+ case GIMP_PRECISION_U8_GAMMA:
+ case GIMP_PRECISION_U16_GAMMA:
+ case GIMP_PRECISION_U32_GAMMA:
+ case GIMP_PRECISION_HALF_GAMMA:
+ case GIMP_PRECISION_FLOAT_GAMMA:
+ case GIMP_PRECISION_DOUBLE_GAMMA:
linear = FALSE;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]