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

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