Bug 793734 - White alpha border after upscaling

In gimp_gegl_apply_scale(), use a CLAMP abyss policy for the scale
op, to avoid leaking transparency into the image when scaling
drawables.

Note that this (intentionally) only affects whole-image/layer
scaling, and not scaling done using any of the transform tools.
This commit is contained in:
Ell
2018-03-22 16:53:08 -04:00
parent ab4b7ab33a
commit 289ecebd69

View File

@ -658,6 +658,7 @@ gimp_gegl_apply_scale (GeglBuffer *src_buffer,
"origin-x", 0.0, "origin-x", 0.0,
"origin-y", 0.0, "origin-y", 0.0,
"sampler", interpolation_type, "sampler", interpolation_type,
"abyss-policy", GEGL_ABYSS_CLAMP,
"x", x, "x", x,
"y", y, "y", y,
NULL); NULL);