Test: /ext/gd/tests/bug72913.phpt - Version 7.3.20        

Bug #72913 imagecopy() loses single-color transparency on palette images
Submitted: 2016-08-21 15:26:28 Modified: 2016-08-21 15:26:41
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: 7.0.10 OS: *

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
002+
001- The images are equal.
002- ==DONE==
003+ Warning: imagecreatefromstring(): gd-png error: cannot allocate libpng main struct
004+ in %s/bug72913.php on line 6
005+
006+ Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in %s/bug72913.php on line 6
007+
008+ Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in %s/bug72913.php on line 6
009+
010+ Warning: imagecopy() expects parameter 2 to be resource, bool given in %s/bug72913.php on line 13
011+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
012+
013+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
014+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
015+
016+ Warning: imagecreatefrompng(): '/usr/src/php-7.3.20/ext/gd/tests/bug72913.png' is not a valid PNG file in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
017+
018+ Warning: imageistruecolor() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 123
019+
020+ Warning: imagesx() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 126
021+
022+ Warning: imagesy() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 127
023+
024+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 128
025+
026+ Warning: imagecopy() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 129
027+
028+ Warning: imagesx() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 88
029+
030+ Warning: imagesy() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 89
031+ The image size differs: expected x, got 50x50.
032+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
033+
034+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
035+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 147
036+ ==DONE==