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.
This commit is contained in:
Michael Natterer
2015-08-19 17:28:39 +02:00
parent 0e10349711
commit dd8a822aae
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);