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

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

Count Diff
1 (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: Uncaught Error: Call to undefined function imagecreatefrompng() in /root/php-7.0.30/ext/gd/tests/func.inc:86
014+ Stack trace:
015+ #0 %s/bug66005.php(22): test_image_equals_file('/root/php-7.0.3...', Resource id #4)
016+ #1 {main}
017+ thrown in /root/php-7.0.30/ext/gd/tests/func.inc on line 86
1 (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: Uncaught Error: Call to undefined function imagecreatefrompng() in /home/goufei/omc/php-7.0.30/ext/gd/tests/func.inc:86
014+ Stack trace:
015+ #0 %s/bug66005.php(22): test_image_equals_file('/home/goufei/om...', Resource id #4)
016+ #1 {main}
017+ thrown in /home/goufei/omc/php-7.0.30/ext/gd/tests/func.inc on line 86