From dd8a822aaeca0529c78b45637ce746790bf642ed Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 19 Aug 2015 17:28:39 +0200 Subject: [PATCH] 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 db62626027..208bf577cc 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 fa11e759d7..9d0d5c2aef 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);