mirror of https://github.com/GNOME/gimp.git
app: gimp:shrink propagate bable space
This commit is contained in:
parent
df4f9e0d9b
commit
4d5a967d6a
|
@ -184,8 +184,9 @@ gimp_operation_shrink_set_property (GObject *object,
|
|||
static void
|
||||
gimp_operation_shrink_prepare (GeglOperation *operation)
|
||||
{
|
||||
gegl_operation_set_format (operation, "input", babl_format ("Y float"));
|
||||
gegl_operation_set_format (operation, "output", babl_format ("Y float"));
|
||||
const Babl *space = gegl_operation_get_source_space (operation, "input");
|
||||
gegl_operation_set_format (operation, "input", babl_format_with_space ("Y float", space));
|
||||
gegl_operation_set_format (operation, "output", babl_format_with_space ("Y float", space));
|
||||
}
|
||||
|
||||
static GeglRectangle
|
||||
|
|
Loading…
Reference in New Issue