[gimp] Bug 794753 - do not dither image mask and channels for imported images
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 794753 - do not dither image mask and channels for imported images
- Date: Thu, 29 Mar 2018 07:31:36 +0000 (UTC)
commit 3265797f3e057f8411cefc015954969fbe5e2fdf
Author: Ell <ell_se yahoo com>
Date: Thu Mar 29 03:03:51 2018 -0400
Bug 794753 - do not dither image mask and channels for imported images
By the same logic of commit
44f293bcdb241f49b22a8df00d7f90f350f24005, we shouldn't dither the
alpha channel either.
app/core/gimpimage-convert-precision.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpimage-convert-precision.c b/app/core/gimpimage-convert-precision.c
index 3cfd1bb..41579e2 100644
--- a/app/core/gimpimage-convert-precision.c
+++ b/app/core/gimpimage-convert-precision.c
@@ -248,12 +248,11 @@ gimp_image_convert_dither_u8 (GimpImage *image,
dither = gegl_node_new_child (NULL,
"operation", "gegl:noise-rgb",
- "red", 1.0 / 256.0,
- "green", 1.0 / 256.0,
- "blue", 1.0 / 256.0,
- "alpha", 1.0 / 256.0,
- "linear", FALSE,
- "gaussian", FALSE,
+ "red", 1.0 / 256.0,
+ "green", 1.0 / 256.0,
+ "blue", 1.0 / 256.0,
+ "linear", FALSE,
+ "gaussian", FALSE,
NULL);
if (dither)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]