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

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