diff options
Diffstat (limited to 'src/gd_interpolation.c')
-rw-r--r-- | src/gd_interpolation.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gd_interpolation.c b/src/gd_interpolation.c index 1f625dd..cf77da7 100644 --- a/src/gd_interpolation.c +++ b/src/gd_interpolation.c @@ -2257,6 +2257,11 @@ BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMet case GD_BESSEL: im->interpolation = filter_bessel; break; + case GD_BICUBIC_FIXED: + case GD_BICUBIC: + /* no interpolation as gdImageScale calls a dedicated function */ + im->interpolation = NULL; + break; case GD_BLACKMAN: im->interpolation = filter_blackman; break; |