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:
@ -255,7 +255,7 @@ gimp_layer_new_convert_buffer (GimpLayer *layer,
|
|||||||
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
|
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
|
||||||
dest_buffer, NULL, dest_profile,
|
dest_buffer, NULL, dest_profile,
|
||||||
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
|
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
|
||||||
FALSE);
|
TRUE);
|
||||||
|
|
||||||
g_object_unref (dest_profile);
|
g_object_unref (dest_profile);
|
||||||
}
|
}
|
||||||
|
@ -1074,7 +1074,7 @@ gimp_layer_convert_type (GimpDrawable *drawable,
|
|||||||
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
|
gimp_gegl_convert_color_profile (src_buffer, NULL, src_profile,
|
||||||
dest_buffer, NULL, dest_profile,
|
dest_buffer, NULL, dest_profile,
|
||||||
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
|
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL,
|
||||||
FALSE);
|
TRUE);
|
||||||
|
|
||||||
g_object_unref (src_profile);
|
g_object_unref (src_profile);
|
||||||
g_object_unref (dest_profile);
|
g_object_unref (dest_profile);
|
||||||
|
Reference in New Issue
Block a user