mirror of https://github.com/GNOME/gimp.git
app: gimp:threshold-alpha propagate babl space
This commit is contained in:
parent
f3a757ff33
commit
11dd90eb89
|
@ -142,8 +142,9 @@ gimp_operation_threshold_alpha_set_property (GObject *object,
|
|||
static void
|
||||
gimp_operation_threshold_alpha_prepare (GeglOperation *operation)
|
||||
{
|
||||
gegl_operation_set_format (operation, "input", babl_format ("RGBA float"));
|
||||
gegl_operation_set_format (operation, "output", babl_format ("RGBA float"));
|
||||
const Babl *space = gegl_operation_get_source_space (operation, "input");
|
||||
gegl_operation_set_format (operation, "input", babl_format_with_space ("RGBA float", space));
|
||||
gegl_operation_set_format (operation, "output", babl_format_with_space ("RGBA float", space));
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in New Issue