[gimp] Bug 723392 - Pasting an image replaces color profile with default one
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 723392 - Pasting an image replaces color profile with default one
- Date: Wed, 19 Aug 2015 15:29:25 +0000 (UTC)
commit dd8a822aaeca0529c78b45637ce746790bf642ed
Author: Michael Natterer <mitch gimp org>
Date: Wed Aug 19 17:28:39 2015 +0200
Bug 723392 - Pasting an image replaces color profile with default one
Use black point compensation when converting color profiles during
copy/paste and drag/drop.
app/core/gimplayer-new.c | 2 +-
app/core/gimplayer.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimplayer-new.c b/app/core/gimplayer-new.c
index db62626..208bf57 100644
--- a/app/core/gimplayer-new.c
+++ b/app/core/gimplayer-new.c
@@ -255,7 +255,7 @@ gimp_layer_new_convert_buffer (GimpLayer *layer,
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
dest_buffer, NULL, dest_profile,
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
- FALSE);
+ TRUE);
g_object_unref (dest_profile);
}
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index fa11e75..9d0d5c2 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -1074,7 +1074,7 @@ gimp_layer_convert_type (GimpDrawable *drawable,
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
dest_buffer, NULL, dest_profile,
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
- FALSE);
+ TRUE);
g_object_unref (src_profile);
g_object_unref (dest_profile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]