]> granicus.if.org Git - php/commit
Fix #73272: imagescale() affects imagesetinterpolation()
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 9 Oct 2016 12:59:37 +0000 (14:59 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 9 Oct 2016 13:10:34 +0000 (15:10 +0200)
commitb92216b97dcdae738ae24d9bdd1168565dc04406
tree64a820d37e2d6e5d77bd6c318be2c847a603b452
parent3c5742ebd735d03468048edbca434769dffec8f4
Fix #73272: imagescale() affects imagesetinterpolation()

We must not permanently change the interpolation method, but rather
have to restore the old method after we're done with scaling the image.
NEWS
ext/gd/gd.c
ext/gd/tests/bug73272.phpt [new file with mode: 0644]
ext/gd/tests/bug73272.png [new file with mode: 0644]