From: Cristy Date: Tue, 15 Aug 2017 17:31:43 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.6-8~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a37c898bd365e94a81d5e211db28d24cd297bc7;p=imagemagick ... --- diff --git a/MagickCore/resize.c b/MagickCore/resize.c index 06297c2c4..1441324d9 100644 --- a/MagickCore/resize.c +++ b/MagickCore/resize.c @@ -895,9 +895,9 @@ MagickPrivate ResizeFilter *AcquireResizeFilter(const Image *image, { Cosine, 1.0, 1.0, 0.0, 0.0, CosineWeightingFunction }, /* Low level cosine window */ { CubicBC, 2.0, 2.0, 1.0, 0.0, CubicBCWeightingFunction }, /* Cubic B-Spline (B=1,C=0) */ { SincFast, 3.0, 1.0, 0.0, 0.0, SincFastWeightingFunction }, /* Lanczos, Interger Radius */ - { Spline16, 2.0, 2.0, 1.0, 0.0, BoxWeightingFunction }, /* Spline 16 2-lobed */ - { Spline36, 3.0, 2.0, 1.0, 0.0, BoxWeightingFunction }, /* Spline 36 3-lobed */ - { Spline64, 4.0, 2.0, 1.0, 0.0, BoxWeightingFunction }, /* Spline 64 4-lobed */ + { Spline16, 2.0, 0.5, 1.0, 0.0, BoxWeightingFunction }, /* Spline 16 2-lobed */ + { Spline36, 3.0, 0.5, 1.0, 0.0, BoxWeightingFunction }, /* Spline 36 3-lobed */ + { Spline64, 4.0, 0.5, 1.0, 0.0, BoxWeightingFunction }, /* Spline 64 4-lobed */ }; /* The known zero crossings of the Jinc() or more accurately the Jinc(x*PI)