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

Bug #22544 truecolor transparent png bug in PHP's bundled libgd but not in the real gd
Submitted: 2003-03-04 23:10:02 Modified: 2003-03-05 10:04:46
From: swbrown Assigned: iliaa
Status: Closed Package: GD related
PHP Version: 4.3.2-dev OS: any

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
001- The images are equal.
002+
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct
004+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
005+
006+ Warning: imagecreatefrompng(): '/usr/src/php-7.3.20/ext/gd/tests/bug22544.png' is not a valid PNG file in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 86
007+
008+ 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
009+
010+ 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
011+
012+ 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
013+
014+ Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 128
015+
016+ 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
017+
018+ 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
019+
020+ 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
021+ The image size differs: expected x, got 640x100.
022+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
023+
024+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct
025+ in /usr/src/php-7.3.20/ext/gd/tests/func.inc on line 147