Test: /ext/gd/tests/bug75124.phpt - Version 7.2.19        

Bug #75124 gdImageGrayScale() may produce colors
Submitted: 2017-08-27 11:32:57 Modified: 2017-08-27 11:37:47
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: 7.0.22 OS: *

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ libpng warning: Application built with libpng-1.6.40 but running with 1.5.13
002+
001- bool(true)
002- ===DONE===
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
004+ in %s/bug75124.php on line 2
005+
006+ Warning: imagecreatefrompng(): '/usr/local/src/php-7.2.19/ext/gd/tests/bug75124.png' is not a valid PNG file in %s/bug75124.php on line 2
007+
008+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 3
009+ NULL
010+
011+ Warning: imagefilter() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 4
012+
013+ Warning: imagesx() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 5
014+ ===DONE===
1 (33%)
001+ libpng warning: Application built with libpng-1.2.50 but running with 1.5.13
002+
001- bool(true)
002- ===DONE===
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in %s/bug75124.php on line 2
004+
005+ Warning: imagecreatefrompng(): '/home/php-7.2.19/ext/gd/tests/bug75124.png' is not a valid PNG file in %s/bug75124.php on line 2
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 3
008+ NULL
009+
010+ Warning: imagefilter() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 4
011+
012+ Warning: imagesx() expects parameter 1 to be resource, boolean given in %s/bug75124.php on line 5
013+ ===DONE===