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

Bug #66005 imagecopy does not support 1bit transparency on truecolor images
Submitted: 2013-10-30 18:41:32 Modified: 2016-08-21 13:34:24
From: andreas.ringlstetter Assigned: cmb
Status: Closed Package: GD related
PHP Version: 5.5.5 OS: Linux 3.11.6-1-ARCH x86_64

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/bug66005.php on line 9
005+
006+ Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in %s/bug66005.php on line 9
007+
008+ Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in %s/bug66005.php on line 9
009+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
010+
011+ Warning: imagecreatefromstring(): gd-png error: cannot allocate libpng main struct
012+ in %s/bug66005.php on line 12
013+
014+ Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in %s/bug66005.php on line 12
015+
016+ Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in %s/bug66005.php on line 12
017+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
018+
019+ Warning: imagecreatefromstring(): gd-png error: cannot allocate libpng main struct
020+ in %s/bug66005.php on line 15
021+
022+ Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in %s/bug66005.php on line 15
023+
024+ Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in %s/bug66005.php on line 15
025+
026+ Warning: imagecopy() expects parameter 2 to be resource, bool given in %s/bug66005.php on line 17
027+
028+ Warning: imagecopy() expects parameter 2 to be resource, bool given in %s/bug66005.php on line 18
029+
030+ Warning: imagecopy() expects parameter 2 to be resource, bool given in %s/bug66005.php on line 19
031+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
032+
033+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
034+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
035+
036+ Warning: imagecreatefrompng(): '/usr/src/php-7.3.20/ext/gd/tests/bug66005.png' is not a valid PNG file in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
037+
038+ 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
039+
040+ 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
041+
042+ 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
043+
044+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 128
045+
046+ 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
047+
048+ 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
049+
050+ 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
051+ The image size differs: expected x, got 150x50.
052+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
053+
054+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
055+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 147
056+ ==DONE==