app: gimp:set-alpha propagate space
This commit is contained in:
@ -136,9 +136,10 @@ gimp_operation_set_alpha_set_property (GObject *object,
|
|||||||
static void
|
static void
|
||||||
gimp_operation_set_alpha_prepare (GeglOperation *operation)
|
gimp_operation_set_alpha_prepare (GeglOperation *operation)
|
||||||
{
|
{
|
||||||
gegl_operation_set_format (operation, "input", babl_format ("RGBA float"));
|
const Babl *space = gegl_operation_get_source_space (operation, "input");
|
||||||
gegl_operation_set_format (operation, "aux", babl_format ("Y float"));
|
gegl_operation_set_format (operation, "input", babl_format_with_space ("RGBA float", space));
|
||||||
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
|
gegl_operation_set_format (operation, "aux", babl_format_with_space ("Y float", space));
|
||||||
|
gegl_operation_set_format (operation, "output", babl_format_with_space ("RGBA float", space));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Reference in New Issue
Block a user