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

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 are 3 different diffs reported by users for this test.

Count Diff
2 (50%)
001+ Warning: imagecreatefromstring(): No PNG support in this PHP build in %s/bug66005.php on line 9
002+
001- The images are equal.
002- ==DONE==
003+ Warning: imagecreatefromstring(): No PNG support in this PHP build in %s/bug66005.php on line 12
004+
005+ Warning: imagecreatefromstring(): No PNG support in this PHP build in %s/bug66005.php on line 15
006+
007+ Warning: imagecopy() expects parameter 2 to be resource, boolean given in %s/bug66005.php on line 17
008+
009+ Warning: imagecopy() expects parameter 2 to be resource, boolean given in %s/bug66005.php on line 18
010+
011+ Warning: imagecopy() expects parameter 2 to be resource, boolean given in %s/bug66005.php on line 19
012+
013+ Fatal error: Call to undefined function imagecreatefrompng() in /home/maya/soft/php-5.6.35/ext/gd/tests/func.inc on line 86
1 (25%)
001+ libpng warning: Application was compiled with png.h from libpng-1.5.13
002+ libpng warning: Application is running with png.c from libpng-1.2.46
001- The images are equal.
002- ==DONE==
003+
004+ Warning: imagecreatefromstring(): gd-png: fatal libpng error: Incompatible libpng version in application and library in %s/bug66005.php on line 9
1 (25%)
001+ libpng warning: Application built with libpng-1.6.34 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.34 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.34 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, boolean given in %s/bug66005.php on line 17
027+
028+ Warning: imagecopy() expects parameter 2 to be resource, boolean given in %s/bug66005.php on line 18
029+
030+ Warning: imagecopy() expects parameter 2 to be resource, boolean given in %s/bug66005.php on line 19
031+ libpng warning: Application built with libpng-1.6.34 but running with 1.5.13
032+
033+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
034+ in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 86
035+
036+ Warning: imagecreatefrompng(): '/usr/local/src/php-5.6.35/ext/gd/tests/bug66005.png' is not a valid PNG file in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 86
037+
038+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 123
039+
040+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 126
041+
042+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 127
043+
044+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 128
045+
046+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 129
047+
048+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 88
049+
050+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.35/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.34 but running with 1.5.13
053+
054+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
055+ in /usr/local/src/php-5.6.35/ext/gd/tests/func.inc on line 147
056+ ==DONE==