]> granicus.if.org Git - php/commit
Fix #66005: imagecopy does not support 1bit transparency on truecolor images
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 21 Aug 2016 14:07:34 +0000 (16:07 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 21 Aug 2016 14:08:57 +0000 (16:08 +0200)
commit9eb5bbd8bd89caa29ba4fbeb2db27d3e4e05ed79
treef433ffc245f85fe4580a483139e035be5719ce72
parent226e21b0fe41d0122d573459f2161cc87505c972
Fix #66005: imagecopy does not support 1bit transparency on truecolor images

We must not copy transparent pixels, see
<https://github.com/libgd/libgd/commit/daac285c>.
NEWS
ext/gd/libgd/gd.c
ext/gd/tests/bug66005.phpt [new file with mode: 0644]