app: in gimp_gegl_create_flatten_node(), explicitly set color node format
In gimp_gegl_create_flatten_node(), explicitly set the output
format of the background gegl:color node according to the composite
space, so that no conversion is required during compositing.
(cherry picked from commit ebf2c2fef1
)
This commit is contained in:
@ -55,6 +55,11 @@ gimp_gegl_create_flatten_node (const GimpRGB *background,
|
|||||||
color = gegl_node_new_child (node,
|
color = gegl_node_new_child (node,
|
||||||
"operation", "gegl:color",
|
"operation", "gegl:color",
|
||||||
"value", c,
|
"value", c,
|
||||||
|
"format", gimp_layer_mode_get_format (
|
||||||
|
GIMP_LAYER_MODE_NORMAL,
|
||||||
|
composite_space,
|
||||||
|
GIMP_LAYER_COLOR_SPACE_AUTO,
|
||||||
|
NULL),
|
||||||
NULL);
|
NULL);
|
||||||
g_object_unref (c);
|
g_object_unref (c);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user