From: Cristy Date: Tue, 15 Aug 2017 11:12:42 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.6-8~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e931ab439340a4380d361467b66eb32554a917b4;p=imagemagick ... --- diff --git a/MagickCore/resize.c b/MagickCore/resize.c index b894c9eb9..cf5311022 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, CubicBCWeightingFunction }, /* Spline 16 2-lobed */ - { Spline36, 3.0, 2.0, 1.0, 0.0, CubicBCWeightingFunction }, /* Spline 36 3-lobed */ - { Spline64, 4.0, 2.0, 1.0, 0.0, CubicBCWeightingFunction }, /* Spline 64 4-lobed */ + { 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 */ }; /* The known zero crossings of the Jinc() or more accurately the Jinc(x*PI)