Test: /ext/gd/tests/bug47946.phpt - Version 7.2.34        

Bug #47946 ImageConvolution overwrites background (fix included)
Submitted: 2009-04-10 16:26:01 Modified: 2017-01-22 14:44:59
From: jcolby Assigned: pajoye
Status: Closed Package: GD related
PHP Version: 5.2.9 OS: openSuse, CentOS, FreeBSD

There are 3 different diffs reported by users for this test.

Count Diff
2 (50%)
001+ The images differ in 43 pixels.
001- The images are equal.
1 (25%)
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: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/soft/src/php-7.2.34/ext/gd/tests/bug47946_exp.png' is not a valid PNG file in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 40x40.
021+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /soft/src/php-7.2.34/ext/gd/tests/func.inc on line 147
024+ ===DONE===
1 (25%)
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: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /root/php-7.2.34/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/root/php-7.2.34/ext/gd/tests/bug47946_exp.png' is not a valid PNG file in /root/php-7.2.34/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /root/php-7.2.34/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /root/php-7.2.34/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 40x40.
021+ libpng warning: Application built with libpng-1.6.37 but running with 1.5.13
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /root/php-7.2.34/ext/gd/tests/func.inc on line 147
024+ ===DONE===