diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2023-01-25 19:49:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 19:49:31 +0100 |
commit | d11db230d3e8c48630e0abe24e34f0f12f45d989 (patch) | |
tree | 539422e4d626d011420e0cfe775d2049866533b9 /src/gd_interpolation.c | |
parent | fe3e0d388c5b964d8ac2612e31b28344d400b063 (diff) | |
parent | 39abd7238cea2ba8baa4bcac1d6fc01c6cb8afab (diff) | |
download | libgd-master.tar.gz |
Fix #847: enable back GD_BICUBIC* interpolation methods
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; |