app: gimp:shrink propagate bable space

This commit is contained in:
Øyvind Kolås 2018-07-06 14:51:45 +02:00
parent df4f9e0d9b
commit 4d5a967d6a
1 changed files with 3 additions and 2 deletions

View File

@ -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