diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-29 16:14:26 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-29 16:16:46 +0200 |
commit | cd94cf60a2379ccfe4619b1b9384a68b3e7a1205 (patch) | |
tree | ce643bc93861c0f0ffc5ae40441c8a13eb49a233 /Zend/zend_inheritance.c | |
parent | 9bf11045db09d87020c66c21e0a4df30f63c415d (diff) | |
download | php-git-cd94cf60a2379ccfe4619b1b9384a68b3e7a1205.tar.gz |
Fix #77943: imageantialias($image, false); does not work
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the
color to anti-alias), but rather modify the `gdImage.AA` flag.
Furthermore, we have to actually use the supplied boolean value.
We also make sure that we don't attempt to enable anti-aliasing for
palette images.
Diffstat (limited to 'Zend/zend_inheritance.c')
0 files changed, 0 insertions, 0 deletions